Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.213/1.213, allocations: 249.4 MB / 256.7 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 177.2 kB / 316 MB, free: 3.57 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.207/1.207, allocations: 205.2 MB / 0.5667 GB, free: 15.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008654/0.0008654, allocations: 94.02 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3526/0.3535, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.5359, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.615, allocations: 424.2 MB / 1.299 GB, free: 322.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/1.616, allocations: 92.84 kB / 1.299 GB, free: 322.1 MB / 0.8698 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.049/3.664, allocations: 0.7526 GB / 2.052 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/3.664, allocations: 7.031 kB / 2.052 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004091/3.669, allocations: 0.8428 MB / 2.052 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04755/3.716, allocations: 22.91 MB / 2.075 GB, free: 130 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000305/3.716, allocations: 245.5 kB / 2.075 GB, free: 130 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00166/3.718, allocations: 303.3 kB / 2.075 GB, free: 130 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008965/3.727, allocations: 5.176 MB / 2.08 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009803/3.737, allocations: 6.296 MB / 2.087 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001296/3.737, allocations: 24.5 kB / 2.087 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005514/3.738, allocations: 10.41 kB / 2.087 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/3.738, allocations: 172.6 kB / 2.087 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03385/3.772, allocations: 28.94 MB / 2.115 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004179/3.776, allocations: 3.248 MB / 2.118 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/3.778, allocations: 1.683 MB / 2.12 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008431/3.778, allocations: 0.9757 MB / 2.121 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/3.779, allocations: 63.72 kB / 2.121 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=253): time 4.568e-06/3.779, allocations: 3.688 kB / 2.121 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=253): time 0.005624/3.784, allocations: 3.159 MB / 2.124 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/3.784, allocations: 89.22 kB / 2.124 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008008/3.792, allocations: 4.763 MB / 2.129 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006282/3.793, allocations: 29.55 kB / 2.129 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001644/3.795, allocations: 2.055 MB / 2.131 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001805/3.796, allocations: 0.8703 MB / 2.132 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/3.797, allocations: 0 / 2.132 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002135/3.797, allocations: 454.8 kB / 2.132 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002416/3.799, allocations: 1.451 MB / 2.133 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002703/3.802, allocations: 2.586 MB / 2.136 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003561/3.805, allocations: 2.197 MB / 2.138 GB, free: 104 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-05/3.806, allocations: 10.16 kB / 2.138 GB, free: 104 MB / 0.8698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007809/3.813, allocations: 4.477 MB / 2.142 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002741/3.816, allocations: 16.5 MB / 2.159 GB, free: 85 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.91e-05/3.816, allocations: 39.22 kB / 2.159 GB, free: 85 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/3.816, allocations: 60.09 kB / 2.159 GB, free: 85 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003784/3.82, allocations: 0.8798 MB / 2.16 GB, free: 84.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006008/3.821, allocations: 1.258 MB / 2.161 GB, free: 83.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005018/3.826, allocations: 434.3 kB / 2.161 GB, free: 83.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004975/3.826, allocations: 167.5 kB / 2.161 GB, free: 83.49 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/3.826, allocations: 3.688 kB / 2.161 GB, free: 83.49 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006712/3.833, allocations: 3.974 MB / 2.165 GB, free: 82.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.694e-05/3.833, allocations: 35.12 kB / 2.165 GB, free: 82.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.431e-05/3.833, allocations: 62.94 kB / 2.165 GB, free: 82.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002996/3.836, allocations: 0.8625 MB / 2.166 GB, free: 82.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.429e-05/3.836, allocations: 80.17 kB / 2.166 GB, free: 82.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004738/3.841, allocations: 367.9 kB / 2.167 GB, free: 82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004185/3.841, allocations: 166 kB / 2.167 GB, free: 81.97 MB / 0.8698 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.001029/3.842, allocations: 217 kB / 2.167 GB, free: 81.77 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001837/3.844, allocations: 484.8 kB / 2.167 GB, free: 81.52 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007334/3.852, allocations: 3.673 MB / 2.171 GB, free: 80.36 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.863e-05/3.852, allocations: 25.84 kB / 2.171 GB, free: 80.36 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/3.852, allocations: 0 / 2.171 GB, free: 80.36 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004468/3.856, allocations: 2.813 MB / 2.174 GB, free: 79.46 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/3.872, allocations: 8.708 MB / 2.182 GB, free: 73.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/3.872, allocations: 0 / 2.182 GB, free: 73.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002254/3.874, allocations: 0.5401 MB / 2.183 GB, free: 73.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-05/3.874, allocations: 15.88 kB / 2.183 GB, free: 73.45 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/3.874, allocations: 43.44 kB / 2.183 GB, free: 73.42 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004258/3.875, allocations: 1.187 MB / 2.184 GB, free: 72.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/3.875, allocations: 0 / 2.184 GB, free: 72.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008471/3.883, allocations: 5.613 MB / 2.189 GB, free: 67.23 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01013/3.893, allocations: 8.168 MB / 2.197 GB, free: 60 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00352/3.897, allocations: 1.224 MB / 2.199 GB, free: 58.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00108/3.898, allocations: 20.17 kB / 2.199 GB, free: 58.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003288/3.901, allocations: 213.7 kB / 2.199 GB, free: 58.76 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003048/3.902, allocations: 130.1 kB / 2.199 GB, free: 58.69 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003003/3.902, allocations: 135.8 kB / 2.199 GB, free: 58.59 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.006637/3.909, allocations: 3.687 MB / 2.203 GB, free: 55.43 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01304/3.922, allocations: 3.356 MB / 2.206 GB, free: 52.08 MB / 0.8698 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.001403/3.923, allocations: 0.6562 MB / 2.207 GB, free: 51.58 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007666/3.931, allocations: 5.718 MB / 2.212 GB, free: 46.48 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/3.931, allocations: 4 kB / 2.212 GB, free: 46.48 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001686/3.933, allocations: 1.543 MB / 2.214 GB, free: 45.11 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0136/3.946, allocations: 3.019 MB / 2.217 GB, free: 43.02 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/3.966, allocations: 11.58 MB / 2.228 GB, free: 31.95 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004331/3.97, allocations: 5.177 MB / 2.233 GB, free: 26.75 MB / 0.8698 GB Notification: Performance of SimCode: time 6.61e-07/3.97, allocations: 0 / 2.233 GB, free: 26.75 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)