Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.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.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.389/1.389, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009711/0.0009712, allocations: 187.3 kB / 361.1 MB, free: 7.082 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.241/1.241, allocations: 205.1 MB / 0.6195 GB, free: 10.39 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.0008048/0.0008048, allocations: 89.47 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2101/0.2109, allocations: 121.4 MB / 0.8511 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.537/0.7479, allocations: 115.3 MB / 0.9637 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.27/4.018, allocations: 2.071 GB / 3.035 GB, free: 64.87 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/4.019, allocations: 83.95 kB / 3.035 GB, free: 64.79 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.1001/4.119, allocations: 52.56 MB / 3.086 GB, free: 11.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/4.119, allocations: 8.5 kB / 3.086 GB, free: 11.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002704/4.122, allocations: 275.3 kB / 3.087 GB, free: 11.53 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/4.122, allocations: 295.4 kB / 3.087 GB, free: 11.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/4.122, allocations: 8 kB / 3.087 GB, free: 11.19 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-05/4.122, allocations: 16 kB / 3.087 GB, free: 11.17 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006134/4.123, allocations: 381.1 kB / 3.087 GB, free: 10.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004654/4.123, allocations: 320.6 kB / 3.088 GB, free: 10.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/4.123, allocations: 0 / 3.088 GB, free: 10.48 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/4.123, allocations: 4 kB / 3.088 GB, free: 10.48 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/4.123, allocations: 8 kB / 3.088 GB, free: 10.47 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/4.126, allocations: 1.072 MB / 3.089 GB, free: 9.359 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000604/4.127, allocations: 308.8 kB / 3.089 GB, free: 9.051 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/4.127, allocations: 156.8 kB / 3.089 GB, free: 8.895 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.194e-05/4.127, allocations: 4.375 kB / 3.089 GB, free: 8.891 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/4.127, allocations: 34.56 kB / 3.089 GB, free: 8.848 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.463e-06/4.127, allocations: 0 / 3.089 GB, free: 8.848 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.005403/4.132, allocations: 0.6746 MB / 3.09 GB, free: 8.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/4.132, allocations: 55.41 kB / 3.09 GB, free: 8.094 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/4.132, allocations: 183.9 kB / 3.09 GB, free: 7.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/4.132, allocations: 29.64 kB / 3.09 GB, free: 7.875 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/4.133, allocations: 156 kB / 3.09 GB, free: 7.719 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/4.133, allocations: 82.75 kB / 3.09 GB, free: 7.637 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/4.133, allocations: 0 / 3.09 GB, free: 7.637 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.635e-05/4.133, allocations: 338.7 kB / 3.091 GB, free: 7.297 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/4.133, allocations: 124.5 kB / 3.091 GB, free: 7.172 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/4.133, allocations: 182.8 kB / 3.091 GB, free: 6.973 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/4.133, allocations: 155.9 kB / 3.091 GB, free: 6.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/4.133, allocations: 0 / 3.091 GB, free: 6.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.005271/4.139, allocations: 0.706 MB / 3.092 GB, free: 6.102 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/4.139, allocations: 7.938 kB / 3.092 GB, free: 6.094 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/4.139, allocations: 3.938 kB / 3.092 GB, free: 6.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005934/4.139, allocations: 181.6 kB / 3.092 GB, free: 5.906 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/4.14, allocations: 67.89 kB / 3.092 GB, free: 5.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007199/4.147, allocations: 3.217 MB / 3.095 GB, free: 2.395 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007888/4.148, allocations: 63.73 kB / 3.095 GB, free: 2.332 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/4.148, allocations: 15.97 kB / 3.095 GB, free: 2.316 MB / 0.948 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.0001088/4.148, allocations: 112.9 kB / 3.095 GB, free: 2.199 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/4.148, allocations: 23.72 kB / 3.095 GB, free: 2.176 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005401/4.154, allocations: 0.7635 MB / 3.096 GB, free: 1.402 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/4.154, allocations: 4 kB / 3.096 GB, free: 1.398 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/4.154, allocations: 3.906 kB / 3.096 GB, free: 1.395 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/4.154, allocations: 7.984 kB / 3.096 GB, free: 1.387 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005447/4.159, allocations: 1.099 MB / 3.097 GB, free: 236 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/4.159, allocations: 0 / 3.097 GB, free: 236 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/4.159, allocations: 63.89 kB / 3.097 GB, free: 172 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2915/4.451, allocations: 169.4 kB / 3.097 GB, free: 412.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/4.451, allocations: 11.66 kB / 3.097 GB, free: 412.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00738/4.459, allocations: 3.205 MB / 3.1 GB, free: 409.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/4.459, allocations: 0 / 3.1 GB, free: 409.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005198/4.464, allocations: 0.8107 MB / 3.101 GB, free: 409.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005272/4.469, allocations: 1.186 MB / 3.102 GB, free: 409 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.368e-05/4.469, allocations: 103.3 kB / 3.103 GB, free: 408.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.666e-05/4.469, allocations: 3.906 kB / 3.103 GB, free: 408.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008017/4.47, allocations: 46.27 kB / 3.103 GB, free: 408.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/4.47, allocations: 19.81 kB / 3.103 GB, free: 408.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/4.47, allocations: 16.05 kB / 3.103 GB, free: 408.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001122/4.47, allocations: 154 kB / 3.103 GB, free: 408.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001295/4.472, allocations: 206.3 kB / 3.103 GB, free: 408.8 MB / 0.948 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.0007612/4.472, allocations: 0.7124 MB / 3.104 GB, free: 408.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009982/4.473, allocations: 0.5471 MB / 3.104 GB, free: 408.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/4.473, allocations: 0 / 3.104 GB, free: 408.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006443/4.474, allocations: 404.3 kB / 3.105 GB, free: 408.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/4.475, allocations: 56.73 kB / 3.105 GB, free: 408.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/4.477, allocations: 0.5447 MB / 3.105 GB, free: 408.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003976/4.477, allocations: 0.8207 MB / 3.106 GB, free: 407.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/4.477, allocations: 3.75 kB / 3.106 GB, free: 407.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)