Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.3/1.3, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009388/0.0009389, allocations: 169.3 kB / 361.1 MB, free: 7.09 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.036/1.036, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007952/0.0007952, allocations: 88.73 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1822/0.183, allocations: 121.4 MB / 0.8511 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.6151, allocations: 115.3 MB / 0.9638 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.695/3.31, allocations: 2.075 GB / 3.039 GB, free: 34.29 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/3.31, allocations: 83.97 kB / 3.039 GB, free: 34.25 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.4918/3.802, allocations: 99.29 MB / 3.136 GB, free: 312 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/3.802, allocations: 8.469 kB / 3.136 GB, free: 312 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01261/3.814, allocations: 2.037 MB / 3.138 GB, free: 311.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/3.816, allocations: 1.032 MB / 3.139 GB, free: 310.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-05/3.816, allocations: 64.06 kB / 3.139 GB, free: 310.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004408/3.817, allocations: 105.8 kB / 3.139 GB, free: 310.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004651/3.822, allocations: 2.769 MB / 3.142 GB, free: 309 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003553/3.825, allocations: 2.092 MB / 3.144 GB, free: 307.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/3.825, allocations: 0 / 3.144 GB, free: 307.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/3.825, allocations: 3 kB / 3.144 GB, free: 307.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/3.825, allocations: 46.44 kB / 3.144 GB, free: 307.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/3.837, allocations: 6.196 MB / 3.15 GB, free: 303.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/3.839, allocations: 1.842 MB / 3.152 GB, free: 302.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/3.84, allocations: 0.9836 MB / 3.153 GB, free: 302 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005902/3.841, allocations: 0.5078 MB / 3.153 GB, free: 301.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001499/3.842, allocations: 1.224 MB / 3.155 GB, free: 300.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=192): time 3.697e-06/3.842, allocations: 0 / 3.155 GB, free: 300.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=192): time 0.004202/3.847, allocations: 2.167 MB / 3.157 GB, free: 299.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/3.847, allocations: 254.2 kB / 3.157 GB, free: 299.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006933/3.847, allocations: 0.6557 MB / 3.158 GB, free: 299 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001517/3.848, allocations: 28.64 kB / 3.158 GB, free: 298.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/3.848, allocations: 0.5166 MB / 3.158 GB, free: 298.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/3.848, allocations: 0.6006 MB / 3.159 GB, free: 298 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/3.848, allocations: 0 / 3.159 GB, free: 298 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/3.848, allocations: 372.9 kB / 3.159 GB, free: 297.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/3.85, allocations: 0.7499 MB / 3.16 GB, free: 297.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/3.851, allocations: 0.9233 MB / 3.161 GB, free: 296.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/3.853, allocations: 0.9811 MB / 3.162 GB, free: 296.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/3.853, allocations: 2.906 kB / 3.162 GB, free: 296.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.00435/3.857, allocations: 2.213 MB / 3.164 GB, free: 295.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/3.857, allocations: 7.219 kB / 3.164 GB, free: 295.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/3.857, allocations: 0 / 3.164 GB, free: 295.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005829/3.858, allocations: 88.88 kB / 3.164 GB, free: 295 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003447/3.861, allocations: 0.5523 MB / 3.164 GB, free: 294.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/3.863, allocations: 1.453 MB / 3.166 GB, free: 293.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/3.865, allocations: 287.2 kB / 3.166 GB, free: 293.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/3.866, allocations: 93.89 kB / 3.166 GB, free: 293.3 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.0003663/3.866, allocations: 131.7 kB / 3.166 GB, free: 293.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/3.866, allocations: 129.3 kB / 3.167 GB, free: 293.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006381/3.873, allocations: 2.843 MB / 3.169 GB, free: 290.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/3.873, allocations: 20 kB / 3.169 GB, free: 290.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/3.873, allocations: 0 / 3.169 GB, free: 290.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/3.873, allocations: 11.95 kB / 3.169 GB, free: 290.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007013/3.88, allocations: 4.755 MB / 3.174 GB, free: 286.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/3.88, allocations: 4 kB / 3.174 GB, free: 286.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003169/3.883, allocations: 0.5342 MB / 3.174 GB, free: 285.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004777/3.884, allocations: 92.77 kB / 3.175 GB, free: 285.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/3.884, allocations: 43.92 kB / 3.175 GB, free: 285.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/3.885, allocations: 1.481 MB / 3.176 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/3.885, allocations: 3.906 kB / 3.176 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004116/3.889, allocations: 2.36 MB / 3.178 GB, free: 281.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004096/3.893, allocations: 2.762 MB / 3.181 GB, free: 278.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008234/3.894, allocations: 0.522 MB / 3.182 GB, free: 278.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003968/3.895, allocations: 12.77 kB / 3.182 GB, free: 278.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002594/3.897, allocations: 227.8 kB / 3.182 GB, free: 277.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/3.897, allocations: 101.8 kB / 3.182 GB, free: 277.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/3.898, allocations: 88.77 kB / 3.182 GB, free: 277.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005709/3.898, allocations: 0.5499 MB / 3.183 GB, free: 277.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002198/3.9, allocations: 0.6192 MB / 3.183 GB, free: 276.6 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.001453/3.902, allocations: 1.056 MB / 3.184 GB, free: 275.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002949/3.905, allocations: 2.088 MB / 3.186 GB, free: 273.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/3.905, allocations: 4.312 kB / 3.186 GB, free: 273.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001587/3.906, allocations: 1.212 MB / 3.187 GB, free: 272.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/3.908, allocations: 236.5 kB / 3.188 GB, free: 272.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005749/3.913, allocations: 2.736 MB / 3.19 GB, free: 269.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/3.915, allocations: 1.605 MB / 3.192 GB, free: 267.9 MB / 0.948 GB Notification: Performance of SimCode: time 3.2e-07/3.915, allocations: 0 / 3.192 GB, free: 267.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)