Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.287/1.287, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009359/0.0009359, allocations: 193.4 kB / 361.1 MB, free: 7.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.993/0.993, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007723/0.0007723, allocations: 89.28 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1771/0.1779, allocations: 121.4 MB / 0.8511 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.5969, allocations: 115.3 MB / 0.9638 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.948/3.545, allocations: 2.071 GB / 3.035 GB, free: 333.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/3.545, allocations: 91.7 kB / 3.035 GB, free: 333.6 MB / 0.9323 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.1288/3.674, allocations: 64.34 MB / 3.098 GB, free: 299 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/3.674, allocations: 12.5 kB / 3.098 GB, free: 299 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/3.675, allocations: 218.5 kB / 3.098 GB, free: 298.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009136/3.676, allocations: 0.6153 MB / 3.099 GB, free: 298.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/3.676, allocations: 28 kB / 3.099 GB, free: 298.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.184e-05/3.676, allocations: 44.66 kB / 3.099 GB, free: 298.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001194/3.677, allocations: 0.9796 MB / 3.1 GB, free: 297.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009492/3.678, allocations: 0.7233 MB / 3.101 GB, free: 296.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/3.678, allocations: 0 / 3.101 GB, free: 296.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/3.678, allocations: 8 kB / 3.101 GB, free: 296.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/3.678, allocations: 19.94 kB / 3.101 GB, free: 296.3 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/3.681, allocations: 2.28 MB / 3.103 GB, free: 294 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/3.683, allocations: 0.7263 MB / 3.104 GB, free: 293.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/3.683, allocations: 258.8 kB / 3.104 GB, free: 293 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.825e-05/3.683, allocations: 29.36 kB / 3.104 GB, free: 293 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004288/3.684, allocations: 394 kB / 3.104 GB, free: 292.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 2.165e-06/3.684, allocations: 0 / 3.104 GB, free: 292.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.001362/3.685, allocations: 0.6599 MB / 3.105 GB, free: 291.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/3.685, allocations: 240 kB / 3.105 GB, free: 291.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004818/3.686, allocations: 0.4944 MB / 3.106 GB, free: 291.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/3.686, allocations: 29.7 kB / 3.106 GB, free: 291.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/3.686, allocations: 288.3 kB / 3.106 GB, free: 290.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/3.686, allocations: 233.2 kB / 3.106 GB, free: 290.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/3.686, allocations: 4 kB / 3.106 GB, free: 290.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.529e-05/3.686, allocations: 374.8 kB / 3.106 GB, free: 290.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/3.686, allocations: 197.3 kB / 3.107 GB, free: 290 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/3.687, allocations: 298.4 kB / 3.107 GB, free: 289.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/3.687, allocations: 251 kB / 3.107 GB, free: 289.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/3.687, allocations: 0 / 3.107 GB, free: 289.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001263/3.688, allocations: 0.6648 MB / 3.108 GB, free: 288.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/3.688, allocations: 4 kB / 3.108 GB, free: 288.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/3.688, allocations: 5.094 kB / 3.108 GB, free: 288.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005645/3.689, allocations: 80.84 kB / 3.108 GB, free: 288.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/3.689, allocations: 139.8 kB / 3.108 GB, free: 288.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/3.691, allocations: 1.457 MB / 3.109 GB, free: 286.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005386/3.692, allocations: 71.53 kB / 3.11 GB, free: 286.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/3.692, allocations: 31.98 kB / 3.11 GB, free: 286.8 MB / 0.9323 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.0001411/3.692, allocations: 116.8 kB / 3.11 GB, free: 286.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/3.692, allocations: 75.14 kB / 3.11 GB, free: 286.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/3.694, allocations: 0.9522 MB / 3.111 GB, free: 285.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/3.694, allocations: 12 kB / 3.111 GB, free: 285.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/3.694, allocations: 4 kB / 3.111 GB, free: 285.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/3.694, allocations: 7.969 kB / 3.111 GB, free: 285.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000731/3.695, allocations: 0.7636 MB / 3.111 GB, free: 284.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/3.695, allocations: 3.906 kB / 3.111 GB, free: 284.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005705/3.695, allocations: 151.8 kB / 3.112 GB, free: 284.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004778/3.696, allocations: 84.78 kB / 3.112 GB, free: 284.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/3.696, allocations: 15.98 kB / 3.112 GB, free: 284.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/3.697, allocations: 1.48 MB / 3.113 GB, free: 283 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/3.697, allocations: 5.062 kB / 3.113 GB, free: 283 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001223/3.698, allocations: 0.7606 MB / 3.114 GB, free: 282.2 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001325/3.7, allocations: 1.179 MB / 3.115 GB, free: 281 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/3.7, allocations: 283.8 kB / 3.115 GB, free: 280.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/3.7, allocations: 4 kB / 3.115 GB, free: 280.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005387/3.701, allocations: 55.94 kB / 3.115 GB, free: 280.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.393e-05/3.701, allocations: 52.84 kB / 3.115 GB, free: 280.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/3.701, allocations: 32.03 kB / 3.115 GB, free: 280.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0003591/3.701, allocations: 406.9 kB / 3.116 GB, free: 280.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001481/3.703, allocations: 379.1 kB / 3.116 GB, free: 279.8 MB / 0.9323 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.001388/3.704, allocations: 1.009 MB / 3.117 GB, free: 278.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000944/3.705, allocations: 0.6662 MB / 3.118 GB, free: 278.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/3.705, allocations: 4 kB / 3.118 GB, free: 278.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005635/3.706, allocations: 452.8 kB / 3.118 GB, free: 277.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008334/3.706, allocations: 210.8 kB / 3.118 GB, free: 277.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/3.709, allocations: 1.33 MB / 3.12 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006172/3.71, allocations: 1.128 MB / 3.121 GB, free: 275.1 MB / 0.9323 GB Notification: Performance of SimCode: time 2.6e-07/3.71, allocations: 0 / 3.121 GB, free: 275.1 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)