Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.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.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Examples_Fanger",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.263/1.263, allocations: 249.4 MB / 256.7 MB, free: 6.996 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.001077/0.001077, allocations: 181.3 kB / 316 MB, free: 3.555 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.274/1.274, allocations: 205.1 MB / 0.5667 GB, free: 15.71 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.0008638/0.0008638, allocations: 86.22 kB / 0.671 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3621/0.363, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.5343, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.973/4.507, allocations: 2.19 GB / 3.075 GB, free: 214.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/4.508, allocations: 85.02 kB / 3.075 GB, free: 214.4 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0958/4.603, allocations: 51.48 MB / 3.125 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/4.603, allocations: 8 kB / 3.125 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/4.606, allocations: 279.2 kB / 3.126 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/4.607, allocations: 303.3 kB / 3.126 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/4.607, allocations: 8 kB / 3.126 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/4.607, allocations: 20 kB / 3.126 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006003/4.607, allocations: 373.1 kB / 3.126 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/4.608, allocations: 324.5 kB / 3.127 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/4.608, allocations: 7.844 kB / 3.127 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.193e-05/4.608, allocations: 4 kB / 3.127 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/4.608, allocations: 4 kB / 3.127 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/4.611, allocations: 1.081 MB / 3.128 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005885/4.611, allocations: 306.6 kB / 3.128 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/4.611, allocations: 152.8 kB / 3.128 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/4.611, allocations: 8.375 kB / 3.128 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/4.611, allocations: 30.56 kB / 3.128 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/4.611, allocations: 4 kB / 3.128 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.00533/4.617, allocations: 0.6756 MB / 3.129 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.894e-05/4.617, allocations: 55.41 kB / 3.129 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/4.617, allocations: 179.9 kB / 3.129 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/4.617, allocations: 25.7 kB / 3.129 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/4.617, allocations: 163.9 kB / 3.129 GB, free: 158 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.448e-05/4.617, allocations: 78.75 kB / 3.129 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/4.617, allocations: 0 / 3.129 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.668e-05/4.617, allocations: 338.8 kB / 3.13 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/4.617, allocations: 128.5 kB / 3.13 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/4.618, allocations: 178.8 kB / 3.13 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/4.618, allocations: 164.4 kB / 3.13 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/4.618, allocations: 4 kB / 3.13 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.005211/4.623, allocations: 0.7055 MB / 3.131 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/4.623, allocations: 4 kB / 3.131 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/4.623, allocations: 4 kB / 3.131 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006113/4.624, allocations: 177.4 kB / 3.131 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/4.624, allocations: 71.89 kB / 3.131 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007217/4.632, allocations: 3.202 MB / 3.134 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008381/4.632, allocations: 59.8 kB / 3.134 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/4.633, allocations: 15.97 kB / 3.134 GB, free: 152.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001232/4.633, allocations: 118 kB / 3.134 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/4.633, allocations: 27.72 kB / 3.134 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005547/4.638, allocations: 0.7581 MB / 3.135 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/4.638, allocations: 4 kB / 3.135 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/4.638, allocations: 4 kB / 3.135 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/4.638, allocations: 7.922 kB / 3.135 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005442/4.644, allocations: 1.111 MB / 3.136 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/4.644, allocations: 0 / 3.136 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/4.644, allocations: 59.89 kB / 3.136 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005242/4.645, allocations: 177.6 kB / 3.136 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.282e-05/4.645, allocations: 11.97 kB / 3.136 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007018/4.652, allocations: 3.198 MB / 3.139 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/4.652, allocations: 0 / 3.139 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005111/4.657, allocations: 0.8022 MB / 3.14 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005119/4.662, allocations: 1.197 MB / 3.141 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.677e-05/4.662, allocations: 104.8 kB / 3.142 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-05/4.662, allocations: 4 kB / 3.142 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007724/4.663, allocations: 51.89 kB / 3.142 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/4.663, allocations: 15.89 kB / 3.142 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/4.663, allocations: 19.91 kB / 3.142 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000106/4.663, allocations: 156.5 kB / 3.142 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001268/4.665, allocations: 199.8 kB / 3.142 GB, free: 144.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000654/4.665, allocations: 0.712 MB / 3.143 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009036/4.666, allocations: 0.5385 MB / 3.143 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/4.666, allocations: 0 / 3.143 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005734/4.667, allocations: 411.5 kB / 3.144 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/4.667, allocations: 58.7 kB / 3.144 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/4.669, allocations: 0.5448 MB / 3.144 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/4.67, allocations: 0.8227 MB / 3.145 GB, free: 141 MB / 0.8698 GB Notification: Performance of SimCode: time 2.61e-07/4.67, allocations: 4 kB / 3.145 GB, free: 141 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)