Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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 7.0.3-maint.7.0.x/package.mo): time 1.277/1.277, allocations: 249.4 MB / 256.7 MB, free: 7.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 177.1 kB / 316 MB, free: 3.598 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.2 MB / 0.5667 GB, free: 15.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008996/0.0008996, allocations: 90.14 kB / 0.671 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.365/0.3659, allocations: 112.4 MB / 0.7808 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.5385, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.47/5.008, allocations: 2.191 GB / 3.076 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/5.008, allocations: 83.95 kB / 3.076 GB, free: 212.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.1619/5.17, allocations: 79.92 MB / 3.154 GB, free: 132 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/5.17, allocations: 8 kB / 3.154 GB, free: 132 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009251/5.171, allocations: 226.1 kB / 3.154 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/5.172, allocations: 0.7094 MB / 3.155 GB, free: 131 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/5.172, allocations: 36 kB / 3.155 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.622e-05/5.173, allocations: 71.84 kB / 3.155 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001451/5.174, allocations: 1.117 MB / 3.156 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/5.175, allocations: 0.9139 MB / 3.157 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/5.175, allocations: 0 / 3.157 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.9e-05/5.175, allocations: 11.98 kB / 3.157 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/5.175, allocations: 24 kB / 3.157 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003636/5.179, allocations: 2.809 MB / 3.16 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000868/5.18, allocations: 0.6882 MB / 3.16 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/5.18, allocations: 254.8 kB / 3.16 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.165e-05/5.18, allocations: 28.69 kB / 3.161 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004617/5.181, allocations: 398 kB / 3.161 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 2.174e-06/5.181, allocations: 0 / 3.161 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78): time 0.001448/5.182, allocations: 0.6794 MB / 3.162 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/5.182, allocations: 240 kB / 3.162 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005901/5.183, allocations: 0.5542 MB / 3.162 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/5.183, allocations: 29.7 kB / 3.162 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/5.183, allocations: 415.4 kB / 3.163 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/5.183, allocations: 240.3 kB / 3.163 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/5.183, allocations: 0 / 3.163 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.194e-05/5.184, allocations: 382.8 kB / 3.163 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/5.184, allocations: 209.5 kB / 3.164 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/5.184, allocations: 315.7 kB / 3.164 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/5.185, allocations: 264.3 kB / 3.164 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/5.185, allocations: 0 / 3.164 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001373/5.186, allocations: 0.7015 MB / 3.165 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/5.186, allocations: 8 kB / 3.165 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/5.186, allocations: 0 / 3.165 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006045/5.187, allocations: 80.84 kB / 3.165 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006154/5.187, allocations: 155.8 kB / 3.165 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/5.189, allocations: 1.461 MB / 3.166 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006974/5.19, allocations: 71.52 kB / 3.167 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.642e-05/5.19, allocations: 28.17 kB / 3.167 GB, free: 118.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (83): * Single equations (assignments): 82 * 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.0001592/5.19, allocations: 121.2 kB / 3.167 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/5.19, allocations: 75.06 kB / 3.167 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/5.192, allocations: 0.9456 MB / 3.168 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/5.192, allocations: 8 kB / 3.168 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/5.192, allocations: 0 / 3.168 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/5.192, allocations: 15.81 kB / 3.168 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008865/5.193, allocations: 0.8486 MB / 3.169 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/5.193, allocations: 0 / 3.169 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005828/5.194, allocations: 151.8 kB / 3.169 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005001/5.194, allocations: 84.77 kB / 3.169 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/5.194, allocations: 19.98 kB / 3.169 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/5.196, allocations: 1.468 MB / 3.17 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/5.196, allocations: 3.906 kB / 3.17 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001303/5.197, allocations: 0.7841 MB / 3.171 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001466/5.198, allocations: 1.202 MB / 3.172 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003457/5.199, allocations: 287.7 kB / 3.172 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/5.199, allocations: 0 / 3.172 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005605/5.199, allocations: 59.89 kB / 3.172 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/5.2, allocations: 56.69 kB / 3.173 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/5.2, allocations: 31.89 kB / 3.173 GB, free: 112 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004554/5.2, allocations: 451.1 kB / 3.173 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001566/5.202, allocations: 426.6 kB / 3.173 GB, free: 111.2 MB / 0.8698 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.001452/5.203, allocations: 1.008 MB / 3.174 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001091/5.204, allocations: 0.6902 MB / 3.175 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/5.204, allocations: 4 kB / 3.175 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000592/5.205, allocations: 460.6 kB / 3.175 GB, free: 109 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009294/5.206, allocations: 215.9 kB / 3.176 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/5.209, allocations: 1.545 MB / 3.177 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007217/5.21, allocations: 1.206 MB / 3.178 GB, free: 106 MB / 0.8698 GB Notification: Performance of SimCode: time 8.12e-07/5.21, allocations: 0 / 3.178 GB, free: 106 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)