Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.394/1.394, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.000966/0.0009662, allocations: 177.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.065/1.065, allocations: 205.1 MB / 0.6195 GB, free: 11.94 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.0007758/0.0007759, allocations: 90.39 kB / 0.7325 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.207/0.2078, allocations: 121.5 MB / 0.8512 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5328/0.7407, allocations: 115.3 MB / 0.9638 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.9023, allocations: 137.5 MB / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.9026, allocations: 78.2 kB / 1.098 GB, free: 2.52 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.002635/0.9053, allocations: 0.9383 MB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.9053, allocations: 10.16 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.9054, allocations: 15.03 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.9056, allocations: 182.8 kB / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.9056, allocations: 4 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.9057, allocations: 4 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.755e-05/0.9058, allocations: 36.92 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.9059, allocations: 88.25 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.9059, allocations: 0.7188 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.9059, allocations: 0 / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.9059, allocations: 5.5 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.9065, allocations: 0.6101 MB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.748e-05/0.9066, allocations: 171.3 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.9067, allocations: 80.14 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.9067, allocations: 75.28 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.9068, allocations: 109.5 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.9068, allocations: 1.375 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.263e-05/0.9069, allocations: 37.55 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.9069, allocations: 51.41 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.907, allocations: 112.3 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.9071, allocations: 30.27 kB / 1.101 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.9071, allocations: 109.4 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/0.9071, allocations: 2.188 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.9071, allocations: 0 / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.9073, allocations: 320.3 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.9073, allocations: 4.531 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.72e-05/0.9073, allocations: 23.98 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.085e-05/0.9074, allocations: 0.5625 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9074, allocations: 4.5 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001204/0.9075, allocations: 54.78 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.9075, allocations: 4 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.9075, allocations: 1.75 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.9075, allocations: 4 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.653e-05/0.9076, allocations: 6.5 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.9076, allocations: 0 / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.785e-05/0.9077, allocations: 5.531 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.9077, allocations: 4 kB / 1.101 GB, free: 15.29 MB / 0.7136 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 (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.633e-05/0.9078, allocations: 180.2 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.9078, allocations: 105.6 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.107e-05/0.9079, allocations: 113.6 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.414e-05/0.908, allocations: 182.9 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.428e-05/0.9081, allocations: 185 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.306e-05/0.9081, allocations: 180.9 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.9084, allocations: 402.4 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.575e-05/0.9084, allocations: 101.6 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.9085, allocations: 110.3 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.183e-05/0.9086, allocations: 180.8 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.708e-05/0.9086, allocations: 177.3 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-05/0.9087, allocations: 180.4 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-05/0.9088, allocations: 188.2 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001356/0.9089, allocations: 310.8 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002452/0.9092, allocations: 0.672 MB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.9093, allocations: 190 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.538e-05/0.9093, allocations: 182.2 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.272e-05/0.9094, allocations: 101 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/0.9095, allocations: 178 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-05/0.9096, allocations: 121.8 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.342e-05/0.9096, allocations: 87.28 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008384/0.9105, allocations: 15.84 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001333/0.9106, allocations: 174.3 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.737e-05/0.9107, allocations: 12.36 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.9107, allocations: 0 / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.634e-06/0.9107, allocations: 192 / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.911, allocations: 0.5263 MB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.9113, allocations: 155.8 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/0.9116, allocations: 0.7075 MB / 1.107 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.9116, allocations: 4 kB / 1.107 GB, free: 9.355 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)