Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Tubular",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Tubular",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 8.0.1-maint.8.0.x/package.mo): time 1.402/1.402, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009924/0.0009924, allocations: 173.3 kB / 361.1 MB, free: 7.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.1 MB / 0.6195 GB, free: 11.96 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000921/0.0009211, allocations: 88.92 kB / 0.7326 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2501/0.251, allocations: 121.4 MB / 0.8511 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5815/0.8326, allocations: 115.3 MB / 0.9637 GB, free: 77.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.906/4.739, allocations: 2.357 GB / 3.321 GB, free: 123.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/4.739, allocations: 86.59 kB / 3.321 GB, free: 123.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 2.744/7.483, allocations: 0.9303 GB / 4.251 GB, free: 171 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/7.483, allocations: 9.25 kB / 4.251 GB, free: 171 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008828/7.492, allocations: 1.361 MB / 4.252 GB, free: 170.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01543/7.508, allocations: 5.474 MB / 4.258 GB, free: 170 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002611/7.508, allocations: 118.8 kB / 4.258 GB, free: 170 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00164/7.51, allocations: 215.9 kB / 4.258 GB, free: 170 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009715/7.519, allocations: 4.428 MB / 4.262 GB, free: 170 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/7.53, allocations: 4.584 MB / 4.267 GB, free: 169.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/7.531, allocations: 15.75 kB / 4.267 GB, free: 169.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004987/7.531, allocations: 3.906 kB / 4.267 GB, free: 169.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001319/7.531, allocations: 182.8 kB / 4.267 GB, free: 169.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02982/7.561, allocations: 19.26 MB / 4.286 GB, free: 162.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004252/7.565, allocations: 3 MB / 4.289 GB, free: 162.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/7.567, allocations: 1.641 MB / 4.29 GB, free: 162.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001806/7.569, allocations: 1.866 MB / 4.292 GB, free: 160.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002497/7.572, allocations: 1.797 MB / 4.294 GB, free: 160.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 4.438e-06/7.572, allocations: 0 / 4.294 GB, free: 160.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.01023/7.582, allocations: 3.701 MB / 4.298 GB, free: 160.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/7.582, allocations: 288.4 kB / 4.298 GB, free: 159.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004221/7.586, allocations: 3.038 MB / 4.301 GB, free: 159.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004231/7.587, allocations: 28.8 kB / 4.301 GB, free: 159.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001362/7.588, allocations: 1.389 MB / 4.302 GB, free: 158.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001141/7.589, allocations: 0.8721 MB / 4.303 GB, free: 158.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/7.59, allocations: 0 / 4.303 GB, free: 158.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001564/7.59, allocations: 423.7 kB / 4.304 GB, free: 157.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/7.591, allocations: 1.324 MB / 4.305 GB, free: 157.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/7.593, allocations: 1.992 MB / 4.307 GB, free: 157.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/7.606, allocations: 2.88 MB / 4.31 GB, free: 157.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.937e-05/7.606, allocations: 6 kB / 4.31 GB, free: 157.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.01745/7.624, allocations: 4.964 MB / 4.314 GB, free: 156.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001193/7.625, allocations: 7.283 MB / 4.322 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/7.625, allocations: 19.53 kB / 4.322 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006472/7.626, allocations: 115.2 kB / 4.322 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004272/7.63, allocations: 0.8118 MB / 4.322 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/7.632, allocations: 2.107 MB / 4.325 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00482/7.637, allocations: 425.5 kB / 4.325 GB, free: 147.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005786/7.637, allocations: 142.9 kB / 4.325 GB, free: 147.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/7.637, allocations: 6.156 kB / 4.325 GB, free: 147.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01746/7.655, allocations: 4.591 MB / 4.33 GB, free: 147.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.318e-05/7.655, allocations: 18.06 kB / 4.33 GB, free: 147.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006263/7.656, allocations: 113.9 kB / 4.33 GB, free: 147.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004188/7.66, allocations: 0.8045 MB / 4.33 GB, free: 147.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/7.661, allocations: 1.509 MB / 4.332 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004778/7.666, allocations: 389.2 kB / 4.332 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007177/7.667, allocations: 147.5 kB / 4.332 GB, free: 146 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (370): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001212/7.668, allocations: 176.5 kB / 4.333 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001379/7.67, allocations: 356.6 kB / 4.333 GB, free: 145.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/7.683, allocations: 4.548 MB / 4.337 GB, free: 145.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.149e-05/7.683, allocations: 30.66 kB / 4.337 GB, free: 145.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/7.683, allocations: 0 / 4.337 GB, free: 145.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009193/7.693, allocations: 3.646 MB / 4.341 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02145/7.714, allocations: 8.689 MB / 4.349 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/7.714, allocations: 1.406 kB / 4.349 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003691/7.718, allocations: 0.641 MB / 4.35 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005667/7.718, allocations: 94.28 kB / 4.35 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003849/7.719, allocations: 57.78 kB / 4.35 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/7.721, allocations: 2.096 MB / 4.352 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/7.721, allocations: 0 / 4.352 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01538/7.736, allocations: 6.033 MB / 4.358 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01542/7.752, allocations: 8.517 MB / 4.366 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002696/7.754, allocations: 1.051 MB / 4.368 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/7.756, allocations: 16.94 kB / 4.368 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004333/7.76, allocations: 288.9 kB / 4.368 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003556/7.76, allocations: 156.5 kB / 4.368 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000433/7.761, allocations: 132.2 kB / 4.368 GB, free: 135.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.003976/7.765, allocations: 2.341 MB / 4.37 GB, free: 134.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01048/7.775, allocations: 2.665 MB / 4.373 GB, free: 133.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002966/7.778, allocations: 1.606 MB / 4.375 GB, free: 133.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009508/7.788, allocations: 5.489 MB / 4.38 GB, free: 131.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/7.788, allocations: 4.266 kB / 4.38 GB, free: 131.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003243/7.791, allocations: 1.72 MB / 4.382 GB, free: 130.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009637/7.801, allocations: 1.673 MB / 4.383 GB, free: 130.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01912/7.82, allocations: 7.868 MB / 4.391 GB, free: 127.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003896/7.824, allocations: 3.589 MB / 4.394 GB, free: 126.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.432e-06/7.824, allocations: 0 / 4.394 GB, free: 126.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Tubular_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Tubular.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)