Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7626/0.7626, allocations: 141.8 MB / 149.1 MB, free: 2.027 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 169.3 kB / 181.9 MB, free: 1.602 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 221.4 MB / 436 MB, free: 6.297 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 100.6 kB / 0.507 GB, free: 2.98 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 274 kB / 0.5884 GB, free: 48 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 7.244e-06/7.504e-06, allocations: 0 / 0.6759 GB, free: 6.363 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5084/0.5084, allocations: 82.76 MB / 0.7567 GB, free: 25.52 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.538/4.047, allocations: 1.695 GB / 2.451 GB, free: 54.75 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/4.047, allocations: 87.95 kB / 2.452 GB, free: 54.67 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.5153/4.562, allocations: 100.2 MB / 2.549 GB, free: 227.7 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001524/4.562, allocations: 45.91 kB / 2.549 GB, free: 227.7 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.006057/4.568, allocations: 2.017 MB / 2.551 GB, free: 226.5 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/4.569, allocations: 12.56 kB / 2.551 GB, free: 226.5 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0156/4.584, allocations: 2.12 MB / 2.553 GB, free: 225.5 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003656/4.588, allocations: 1.048 MB / 2.555 GB, free: 225 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/4.588, allocations: 63.72 kB / 2.555 GB, free: 225 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001102/4.589, allocations: 116 kB / 2.555 GB, free: 225 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008035/4.597, allocations: 2.858 MB / 2.557 GB, free: 223.9 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006341/4.604, allocations: 2.173 MB / 2.56 GB, free: 222.2 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.69e-05/4.604, allocations: 3.188 kB / 2.56 GB, free: 222.2 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005374/4.604, allocations: 0 / 2.56 GB, free: 222.2 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.556e-05/4.604, allocations: 52 kB / 2.56 GB, free: 222.2 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01867/4.623, allocations: 6.889 MB / 2.566 GB, free: 215.3 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003629/4.627, allocations: 1.828 MB / 2.568 GB, free: 213.5 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/4.628, allocations: 1.015 MB / 2.569 GB, free: 212.5 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008055/4.629, allocations: 0.5041 MB / 2.57 GB, free: 211.9 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002213/4.631, allocations: 1.254 MB / 2.571 GB, free: 210.7 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=195): time 5.731e-06/4.632, allocations: 4 kB / 2.571 GB, free: 210.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=195): time 0.005502/4.637, allocations: 2.238 MB / 2.573 GB, free: 208.4 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/4.637, allocations: 253.3 kB / 2.573 GB, free: 208.1 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/4.638, allocations: 0.6369 MB / 2.574 GB, free: 207.5 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0002619/4.638, allocations: 29.7 kB / 2.574 GB, free: 207.4 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004659/4.639, allocations: 0.5434 MB / 2.574 GB, free: 206.9 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005558/4.64, allocations: 0.6079 MB / 2.575 GB, free: 206.2 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/4.64, allocations: 0 / 2.575 GB, free: 206.2 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001469/4.64, allocations: 422.7 kB / 2.575 GB, free: 205.8 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/4.641, allocations: 0.7694 MB / 2.576 GB, free: 205.1 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/4.642, allocations: 0.9418 MB / 2.577 GB, free: 204.1 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/4.645, allocations: 1.036 MB / 2.578 GB, free: 203.1 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/4.645, allocations: 4 kB / 2.578 GB, free: 203.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004813/4.649, allocations: 2.283 MB / 2.58 GB, free: 200.8 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/4.65, allocations: 8.156 kB / 2.58 GB, free: 200.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/4.65, allocations: 0 / 2.58 GB, free: 200.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006194/4.65, allocations: 88.78 kB / 2.58 GB, free: 200.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003697/4.654, allocations: 0.5748 MB / 2.581 GB, free: 200.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/4.656, allocations: 1.466 MB / 2.582 GB, free: 198.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003162/4.659, allocations: 306.6 kB / 2.583 GB, free: 198.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004116/4.659, allocations: 83.89 kB / 2.583 GB, free: 198.1 MB / 0.6982 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 (206): * Single equations (assignments): 205 * 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.0006213/4.66, allocations: 143.7 kB / 2.583 GB, free: 198 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005151/4.66, allocations: 126.4 kB / 2.583 GB, free: 197.9 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007531/4.668, allocations: 2.937 MB / 2.586 GB, free: 195 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/4.668, allocations: 24 kB / 2.586 GB, free: 195 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/4.668, allocations: 3.984 kB / 2.586 GB, free: 195 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/4.668, allocations: 7.969 kB / 2.586 GB, free: 194.9 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009057/4.677, allocations: 4.898 MB / 2.591 GB, free: 190.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/4.677, allocations: 0 / 2.591 GB, free: 190.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003689/4.681, allocations: 0.5644 MB / 2.591 GB, free: 189.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005519/4.681, allocations: 92.72 kB / 2.591 GB, free: 189.4 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002822/4.682, allocations: 43.92 kB / 2.591 GB, free: 189.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/4.683, allocations: 1.484 MB / 2.593 GB, free: 187.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/4.683, allocations: 0 / 2.593 GB, free: 187.8 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005022/4.688, allocations: 2.426 MB / 2.595 GB, free: 185.3 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/4.689, allocations: 0.5297 MB / 2.596 GB, free: 184.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005018/4.69, allocations: 7.984 kB / 2.596 GB, free: 184.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003022/4.693, allocations: 243.7 kB / 2.596 GB, free: 184.6 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/4.693, allocations: 113.8 kB / 2.596 GB, free: 184.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002373/4.693, allocations: 83.3 kB / 2.596 GB, free: 184.4 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0007217/4.694, allocations: 0.5343 MB / 2.597 GB, free: 183.8 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002082/4.696, allocations: 0.5916 MB / 2.597 GB, free: 183.2 MB / 0.6982 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 (210): * Single equations (assignments): 207 * 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.001889/4.698, allocations: 1.084 MB / 2.598 GB, free: 182.4 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.003571/4.702, allocations: 2.131 MB / 2.6 GB, free: 180.3 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/4.702, allocations: 0 / 2.6 GB, free: 180.3 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.001881/4.704, allocations: 1.25 MB / 2.602 GB, free: 179.1 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/4.705, allocations: 236.8 kB / 2.602 GB, free: 178.9 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007625/4.713, allocations: 2.829 MB / 2.605 GB, free: 176 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002383/4.715, allocations: 1.652 MB / 2.606 GB, free: 174.3 MB / 0.6982 GB Notification: Performance of SimCode: time 1.162e-06/4.715, allocations: 0 / 2.606 GB, free: 174.3 MB / 0.6982 GB Notification: Performance of Templates: time 0.0523/4.767, allocations: 36.75 MB / 2.642 GB, free: 137.9 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)