Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.1.4-maint.8.1.x/package.mo): time 1.389/1.389, allocations: 289.8 MB / 297.1 MB, free: 6.172 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.001005/0.001005, allocations: 177.3 kB / 366.3 MB, free: 1.453 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.175/1.175, allocations: 205.1 MB / 0.6256 GB, free: 5.867 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.0009105/0.0009107, allocations: 82.86 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2425/0.2435, allocations: 122.4 MB / 0.8591 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5258/0.7693, allocations: 116.3 MB / 0.9726 GB, free: 68.79 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.491/4.26, allocations: 2.076 GB / 3.049 GB, free: 352.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/4.26, allocations: 84.39 kB / 3.049 GB, free: 352.8 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.2016/4.462, allocations: 99.29 MB / 3.146 GB, free: 289 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/4.462, allocations: 8 kB / 3.146 GB, free: 289 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/4.474, allocations: 2.034 MB / 3.148 GB, free: 286.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/4.476, allocations: 1.036 MB / 3.149 GB, free: 285.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/4.476, allocations: 60 kB / 3.149 GB, free: 285.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/4.477, allocations: 108 kB / 3.149 GB, free: 285.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003949/4.48, allocations: 2.775 MB / 3.152 GB, free: 282.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/4.483, allocations: 2.084 MB / 3.154 GB, free: 280.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/4.483, allocations: 4 kB / 3.154 GB, free: 280.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002022/4.484, allocations: 4 kB / 3.154 GB, free: 280.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/4.484, allocations: 44 kB / 3.154 GB, free: 280.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0112/4.495, allocations: 6.193 MB / 3.16 GB, free: 274.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/4.497, allocations: 1.841 MB / 3.162 GB, free: 272.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/4.498, allocations: 0.9865 MB / 3.163 GB, free: 271.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000592/4.499, allocations: 0.4993 MB / 3.163 GB, free: 271 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/4.5, allocations: 1.231 MB / 3.164 GB, free: 269.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=192): time 2.826e-06/4.5, allocations: 4 kB / 3.164 GB, free: 269.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=192): time 0.004185/4.505, allocations: 2.16 MB / 3.167 GB, free: 267.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/4.505, allocations: 253.3 kB / 3.167 GB, free: 267.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006845/4.505, allocations: 0.6646 MB / 3.167 GB, free: 266.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001519/4.506, allocations: 25.81 kB / 3.167 GB, free: 266.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/4.506, allocations: 0.5239 MB / 3.168 GB, free: 266 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003547/4.506, allocations: 0.5925 MB / 3.169 GB, free: 265.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/4.506, allocations: 0 / 3.169 GB, free: 265.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.086e-05/4.506, allocations: 361.9 kB / 3.169 GB, free: 265.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/4.507, allocations: 0.7538 MB / 3.17 GB, free: 264.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/4.509, allocations: 0.9228 MB / 3.171 GB, free: 263.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/4.51, allocations: 0.9819 MB / 3.172 GB, free: 262.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/4.51, allocations: 0 / 3.172 GB, free: 262.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004174/4.515, allocations: 2.219 MB / 3.174 GB, free: 260.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/4.515, allocations: 8 kB / 3.174 GB, free: 260.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/4.515, allocations: 0 / 3.174 GB, free: 260.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005927/4.515, allocations: 92.86 kB / 3.174 GB, free: 260 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00346/4.519, allocations: 0.55 MB / 3.174 GB, free: 259.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/4.52, allocations: 1.461 MB / 3.176 GB, free: 257.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002598/4.523, allocations: 286.6 kB / 3.176 GB, free: 257.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/4.523, allocations: 79.91 kB / 3.176 GB, free: 257.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (203): * Single equations (assignments): 202 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.000344/4.523, allocations: 132.7 kB / 3.176 GB, free: 257.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/4.524, allocations: 130.4 kB / 3.176 GB, free: 257.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00614/4.53, allocations: 2.851 MB / 3.179 GB, free: 254.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/4.53, allocations: 20 kB / 3.179 GB, free: 254.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/4.53, allocations: 0 / 3.179 GB, free: 254.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/4.53, allocations: 11.97 kB / 3.179 GB, free: 254.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007089/4.537, allocations: 4.754 MB / 3.184 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/4.537, allocations: 0 / 3.184 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003296/4.54, allocations: 0.5383 MB / 3.184 GB, free: 249 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005131/4.541, allocations: 84.78 kB / 3.184 GB, free: 249 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/4.541, allocations: 47.92 kB / 3.184 GB, free: 248.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/4.542, allocations: 1.488 MB / 3.186 GB, free: 247.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/4.542, allocations: 0 / 3.186 GB, free: 247.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004097/4.546, allocations: 2.352 MB / 3.188 GB, free: 244.9 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004183/4.551, allocations: 2.77 MB / 3.191 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007513/4.551, allocations: 0.5297 MB / 3.191 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003432/4.552, allocations: 7.938 kB / 3.191 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/4.554, allocations: 235.7 kB / 3.192 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/4.555, allocations: 101.8 kB / 3.192 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002029/4.555, allocations: 83.92 kB / 3.192 GB, free: 241.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005932/4.555, allocations: 0.5499 MB / 3.192 GB, free: 240.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002192/4.558, allocations: 0.6154 MB / 3.193 GB, free: 240 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.001389/4.559, allocations: 1.046 MB / 3.194 GB, free: 239 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002924/4.562, allocations: 2.081 MB / 3.196 GB, free: 236.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/4.562, allocations: 4 kB / 3.196 GB, free: 236.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00158/4.564, allocations: 1.22 MB / 3.197 GB, free: 235.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/4.565, allocations: 234.2 kB / 3.197 GB, free: 235.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006005/4.571, allocations: 2.743 MB / 3.2 GB, free: 232.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001811/4.573, allocations: 1.613 MB / 3.202 GB, free: 231 MB / 0.948 GB Notification: Performance of SimCode: time 4.01e-07/4.573, allocations: 0 / 3.202 GB, free: 231 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)