Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.421/1.421, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.0009447/0.0009447, allocations: 181.3 kB / 366.3 MB, free: 1.992 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.108/1.108, allocations: 205.1 MB / 0.6256 GB, free: 5.852 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.0008434/0.0008435, allocations: 93.16 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2163/0.2171, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.718, allocations: 116.3 MB / 0.9727 GB, free: 67.96 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.248/3.966, allocations: 2.072 GB / 3.045 GB, free: 3.734 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/3.967, allocations: 93.12 kB / 3.045 GB, free: 3.645 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.5032/4.47, allocations: 64.34 MB / 3.108 GB, free: 327.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/4.47, allocations: 15.94 kB / 3.108 GB, free: 327.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/4.471, allocations: 218.5 kB / 3.108 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/4.472, allocations: 0.6107 MB / 3.109 GB, free: 326.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.653e-05/4.472, allocations: 31.94 kB / 3.109 GB, free: 326.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/4.472, allocations: 44 kB / 3.109 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001336/4.474, allocations: 0.9796 MB / 3.11 GB, free: 325.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/4.475, allocations: 0.7233 MB / 3.11 GB, free: 324.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/4.475, allocations: 3.938 kB / 3.11 GB, free: 324.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/4.475, allocations: 0 / 3.11 GB, free: 324.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/4.475, allocations: 21.78 kB / 3.11 GB, free: 324.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003318/4.478, allocations: 2.288 MB / 3.113 GB, free: 322.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/4.48, allocations: 0.7334 MB / 3.113 GB, free: 321.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/4.48, allocations: 250.8 kB / 3.114 GB, free: 321.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.407e-05/4.48, allocations: 28.44 kB / 3.114 GB, free: 321.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004683/4.481, allocations: 394 kB / 3.114 GB, free: 320.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 1.954e-06/4.481, allocations: 4 kB / 3.114 GB, free: 320.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.00139/4.482, allocations: 0.6521 MB / 3.115 GB, free: 320.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/4.482, allocations: 244 kB / 3.115 GB, free: 319.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004849/4.483, allocations: 0.4983 MB / 3.115 GB, free: 319.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/4.483, allocations: 25.7 kB / 3.115 GB, free: 319.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/4.483, allocations: 284.3 kB / 3.116 GB, free: 319.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/4.483, allocations: 232.5 kB / 3.116 GB, free: 318.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/4.483, allocations: 0 / 3.116 GB, free: 318.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.446e-05/4.483, allocations: 378.7 kB / 3.116 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/4.483, allocations: 198.3 kB / 3.116 GB, free: 318.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/4.484, allocations: 306.4 kB / 3.117 GB, free: 318 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/4.484, allocations: 239 kB / 3.117 GB, free: 317.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/4.484, allocations: 0 / 3.117 GB, free: 317.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00133/4.485, allocations: 0.6678 MB / 3.118 GB, free: 317.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/4.485, allocations: 4 kB / 3.118 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/4.485, allocations: 4 kB / 3.118 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/4.486, allocations: 88.83 kB / 3.118 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/4.487, allocations: 143.8 kB / 3.118 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/4.488, allocations: 1.457 MB / 3.119 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/4.489, allocations: 72.62 kB / 3.119 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/4.489, allocations: 35.91 kB / 3.119 GB, free: 315.2 MB / 0.948 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 (75): * Single equations (assignments): 74 * 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.0001728/4.489, allocations: 121.9 kB / 3.12 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/4.489, allocations: 71.16 kB / 3.12 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/4.491, allocations: 0.9439 MB / 3.121 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/4.491, allocations: 8 kB / 3.121 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/4.491, allocations: 4 kB / 3.121 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/4.491, allocations: 3.984 kB / 3.121 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008566/4.492, allocations: 0.7549 MB / 3.121 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/4.492, allocations: 3.906 kB / 3.121 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006029/4.493, allocations: 147.8 kB / 3.121 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005013/4.493, allocations: 85.8 kB / 3.121 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.485e-05/4.493, allocations: 15.98 kB / 3.122 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/4.495, allocations: 1.492 MB / 3.123 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/4.495, allocations: 0 / 3.123 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001304/4.496, allocations: 0.7646 MB / 3.124 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001464/4.498, allocations: 1.179 MB / 3.125 GB, free: 309.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/4.498, allocations: 275.9 kB / 3.125 GB, free: 309.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/4.498, allocations: 0 / 3.125 GB, free: 309.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/4.499, allocations: 55.95 kB / 3.125 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.824e-05/4.499, allocations: 64.62 kB / 3.125 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/4.499, allocations: 27.98 kB / 3.125 GB, free: 308.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004232/4.499, allocations: 403.8 kB / 3.126 GB, free: 308.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001696/4.501, allocations: 375 kB / 3.126 GB, free: 308.2 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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.001458/4.503, allocations: 1.016 MB / 3.127 GB, free: 307.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001054/4.504, allocations: 0.6625 MB / 3.128 GB, free: 306.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/4.504, allocations: 4 kB / 3.128 GB, free: 306.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005853/4.504, allocations: 452.6 kB / 3.128 GB, free: 306.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008864/4.505, allocations: 206.7 kB / 3.128 GB, free: 306 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/4.508, allocations: 1.339 MB / 3.13 GB, free: 304.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007023/4.509, allocations: 1.119 MB / 3.131 GB, free: 303.5 MB / 0.948 GB Notification: Performance of SimCode: time 7.91e-07/4.509, allocations: 0 / 3.131 GB, free: 303.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)