Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.01/2.01, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 181.3 kB / 487 MB, free: 5.371 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 221.3 MB / 0.7819 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 106.5 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.673/0.6741, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.9724, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.184/2.157, allocations: 442.2 MB / 1.637 GB, free: 14.02 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/2.157, allocations: 92.75 kB / 1.637 GB, free: 13.98 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 2.896/5.053, allocations: 0.7964 GB / 2.434 GB, free: 140.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/5.053, allocations: 8 kB / 2.434 GB, free: 140.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005489/5.059, allocations: 0.8462 MB / 2.435 GB, free: 140 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0577/5.116, allocations: 24.59 MB / 2.459 GB, free: 115.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004983/5.117, allocations: 239.8 kB / 2.459 GB, free: 115.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002701/5.12, allocations: 299.9 kB / 2.459 GB, free: 115.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01353/5.133, allocations: 5.17 MB / 2.464 GB, free: 109.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/5.146, allocations: 6.426 MB / 2.47 GB, free: 103.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001483/5.147, allocations: 23.78 kB / 2.47 GB, free: 103.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007327/5.147, allocations: 15.98 kB / 2.47 GB, free: 103.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/5.148, allocations: 229.4 kB / 2.471 GB, free: 102.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04023/5.188, allocations: 29.11 MB / 2.499 GB, free: 72.71 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0047/5.193, allocations: 3.234 MB / 2.502 GB, free: 69.49 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/5.194, allocations: 1.689 MB / 2.504 GB, free: 67.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008496/5.195, allocations: 0.9774 MB / 2.505 GB, free: 66.63 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/5.195, allocations: 73.06 kB / 2.505 GB, free: 66.55 MB / 1.151 GB Notification: Performance of pre-optimization done (n=253): time 4.439e-06/5.195, allocations: 0 / 2.505 GB, free: 66.55 MB / 1.151 GB Notification: Performance of matching and sorting (n=253): time 0.0065/5.202, allocations: 3.175 MB / 2.508 GB, free: 63.36 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/5.202, allocations: 81.41 kB / 2.508 GB, free: 63.27 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009033/5.211, allocations: 4.875 MB / 2.513 GB, free: 58.41 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001019/5.212, allocations: 37.7 kB / 2.513 GB, free: 58.36 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002156/5.214, allocations: 2.069 MB / 2.515 GB, free: 56.26 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.002224/5.216, allocations: 0.87 MB / 2.516 GB, free: 55.38 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/5.217, allocations: 4 kB / 2.516 GB, free: 55.38 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001988/5.217, allocations: 441.2 kB / 2.516 GB, free: 54.94 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/5.219, allocations: 1.459 MB / 2.518 GB, free: 53.48 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/5.221, allocations: 2.583 MB / 2.52 GB, free: 50.38 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/5.224, allocations: 2.201 MB / 2.522 GB, free: 48.16 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/5.224, allocations: 12 kB / 2.522 GB, free: 48.15 MB / 1.151 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007616/5.231, allocations: 4.487 MB / 2.527 GB, free: 43.61 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.003265/5.235, allocations: 16.63 MB / 2.543 GB, free: 25.25 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.267e-05/5.235, allocations: 36 kB / 2.543 GB, free: 25.21 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.217e-05/5.235, allocations: 60 kB / 2.543 GB, free: 25.16 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004151/5.239, allocations: 0.8776 MB / 2.544 GB, free: 24.28 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006495/5.24, allocations: 1.254 MB / 2.545 GB, free: 22.98 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006282/5.246, allocations: 436 kB / 2.545 GB, free: 22.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00074/5.247, allocations: 172 kB / 2.546 GB, free: 22.38 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/5.247, allocations: 4 kB / 2.546 GB, free: 22.38 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006767/5.254, allocations: 3.971 MB / 2.55 GB, free: 18.37 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/5.254, allocations: 36 kB / 2.55 GB, free: 18.33 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.972e-05/5.254, allocations: 60 kB / 2.55 GB, free: 18.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003038/5.257, allocations: 0.8626 MB / 2.55 GB, free: 17.41 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.099e-05/5.257, allocations: 79.72 kB / 2.551 GB, free: 17.33 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005404/5.262, allocations: 372.7 kB / 2.551 GB, free: 16.96 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003942/5.263, allocations: 168 kB / 2.551 GB, free: 16.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00108/5.264, allocations: 219.6 kB / 2.551 GB, free: 16.58 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001689/5.265, allocations: 0.4901 MB / 2.552 GB, free: 16.08 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006511/5.272, allocations: 3.677 MB / 2.555 GB, free: 12.36 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/5.272, allocations: 28 kB / 2.555 GB, free: 12.33 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/5.272, allocations: 4 kB / 2.555 GB, free: 12.32 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003712/5.276, allocations: 2.814 MB / 2.558 GB, free: 9.457 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01748/5.293, allocations: 8.827 MB / 2.567 GB, free: 0.5898 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/5.293, allocations: 0 / 2.567 GB, free: 0.5898 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002388/5.296, allocations: 0.5317 MB / 2.567 GB, free: 60 kB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.035e-05/5.296, allocations: 12 kB / 2.567 GB, free: 48 kB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001776/5.296, allocations: 43.95 kB / 2.567 GB, free: 4 kB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007832/5.297, allocations: 1.191 MB / 2.568 GB, free: 14.76 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/5.297, allocations: 0 / 2.568 GB, free: 14.76 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009615/5.306, allocations: 5.64 MB / 2.574 GB, free: 9.016 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01286/5.319, allocations: 8.186 MB / 2.582 GB, free: 0.7031 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004601/5.324, allocations: 1.268 MB / 2.583 GB, free: 15.41 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001942/5.326, allocations: 23.98 kB / 2.583 GB, free: 15.39 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005114/5.331, allocations: 215 kB / 2.583 GB, free: 15.18 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004663/5.331, allocations: 133.8 kB / 2.584 GB, free: 15.04 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005885/5.332, allocations: 143.9 kB / 2.584 GB, free: 14.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.00769/5.34, allocations: 3.775 MB / 2.587 GB, free: 11.14 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.0172/5.357, allocations: 3.368 MB / 2.591 GB, free: 7.766 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00227/5.359, allocations: 0.6717 MB / 2.591 GB, free: 7.137 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01086/5.37, allocations: 5.718 MB / 2.597 GB, free: 1.406 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/5.37, allocations: 4.5 kB / 2.597 GB, free: 1.402 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.5244/5.895, allocations: 1.546 MB / 2.598 GB, free: 351.7 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01685/5.912, allocations: 3.039 MB / 2.601 GB, free: 351.7 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02643/5.938, allocations: 11.72 MB / 2.613 GB, free: 349.8 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007741/5.946, allocations: 5.235 MB / 2.618 GB, free: 349 MB / 1.182 GB Notification: Performance of SimCode: time 1.373e-06/5.946, allocations: 0 / 2.618 GB, free: 349 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)