Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.163/2.163, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001627/0.001627, allocations: 181.2 kB / 360.3 MB, free: 7.559 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.677/1.677, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001191/0.001191, allocations: 85.45 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2686/0.2698, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5965/0.8663, allocations: 115.2 MB / 0.9627 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.598/5.464, allocations: 2.071 GB / 3.034 GB, free: 273.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/5.464, allocations: 91.23 kB / 3.034 GB, free: 273.1 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.2351/5.7, allocations: 64.35 MB / 3.097 GB, free: 255.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/5.7, allocations: 13 kB / 3.097 GB, free: 255.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/5.701, allocations: 221.1 kB / 3.097 GB, free: 255.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/5.703, allocations: 0.6129 MB / 3.098 GB, free: 254.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/5.703, allocations: 29.56 kB / 3.098 GB, free: 254.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/5.703, allocations: 50 kB / 3.098 GB, free: 254.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00233/5.705, allocations: 0.9796 MB / 3.099 GB, free: 254.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/5.707, allocations: 0.7209 MB / 3.099 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/5.707, allocations: 0 / 3.099 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/5.707, allocations: 2.75 kB / 3.099 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/5.707, allocations: 19.47 kB / 3.099 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005812/5.713, allocations: 2.283 MB / 3.102 GB, free: 253.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/5.716, allocations: 0.7205 MB / 3.102 GB, free: 253 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005997/5.717, allocations: 248.9 kB / 3.103 GB, free: 253 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/5.717, allocations: 37.73 kB / 3.103 GB, free: 253 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008239/5.718, allocations: 393.9 kB / 3.103 GB, free: 252.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 3.106e-06/5.718, allocations: 0 / 3.103 GB, free: 252.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.002709/5.721, allocations: 0.6515 MB / 3.104 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/5.721, allocations: 240.8 kB / 3.104 GB, free: 252.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/5.722, allocations: 0.4962 MB / 3.104 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000186/5.722, allocations: 27.52 kB / 3.104 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/5.722, allocations: 287.7 kB / 3.105 GB, free: 252 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000242/5.723, allocations: 236.5 kB / 3.105 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/5.723, allocations: 0 / 3.105 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001209/5.723, allocations: 377.4 kB / 3.105 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005843/5.723, allocations: 198.7 kB / 3.105 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006599/5.724, allocations: 301.5 kB / 3.106 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007112/5.725, allocations: 246.6 kB / 3.106 GB, free: 251.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/5.725, allocations: 0 / 3.106 GB, free: 251.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002682/5.728, allocations: 0.662 MB / 3.107 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/5.728, allocations: 6.25 kB / 3.107 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/5.728, allocations: 0 / 3.107 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/5.729, allocations: 89.52 kB / 3.107 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/5.73, allocations: 144.8 kB / 3.107 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002704/5.733, allocations: 1.458 MB / 3.108 GB, free: 249.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/5.734, allocations: 72.72 kB / 3.108 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.494e-05/5.734, allocations: 29.95 kB / 3.108 GB, free: 249.7 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.0002332/5.734, allocations: 118.6 kB / 3.109 GB, free: 249.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/5.734, allocations: 69.12 kB / 3.109 GB, free: 249.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003853/5.738, allocations: 0.946 MB / 3.11 GB, free: 249.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/5.738, allocations: 17.06 kB / 3.11 GB, free: 249.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/5.738, allocations: 0 / 3.11 GB, free: 249.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/5.738, allocations: 3.984 kB / 3.11 GB, free: 249.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/5.74, allocations: 0.7593 MB / 3.11 GB, free: 248.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/5.74, allocations: 7.906 kB / 3.11 GB, free: 248.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/5.741, allocations: 149 kB / 3.11 GB, free: 248.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009795/5.742, allocations: 90.47 kB / 3.111 GB, free: 248.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/5.743, allocations: 19.2 kB / 3.111 GB, free: 248.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002636/5.745, allocations: 1.482 MB / 3.112 GB, free: 247.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/5.745, allocations: 64 / 3.112 GB, free: 247.5 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002848/5.748, allocations: 0.7642 MB / 3.113 GB, free: 247.1 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002682/5.751, allocations: 1.176 MB / 3.114 GB, free: 246.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006729/5.752, allocations: 283.4 kB / 3.114 GB, free: 245.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/5.752, allocations: 0 / 3.114 GB, free: 245.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/5.753, allocations: 55.95 kB / 3.114 GB, free: 245.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/5.753, allocations: 56.25 kB / 3.114 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-05/5.753, allocations: 35.3 kB / 3.114 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0007119/5.754, allocations: 409.8 kB / 3.115 GB, free: 245.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002418/5.756, allocations: 376.4 kB / 3.115 GB, free: 245.2 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.002125/5.758, allocations: 1.005 MB / 3.116 GB, free: 244.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002018/5.76, allocations: 0.6605 MB / 3.117 GB, free: 243.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/5.761, allocations: 4 kB / 3.117 GB, free: 243.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/5.762, allocations: 452 kB / 3.117 GB, free: 243.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/5.763, allocations: 213.8 kB / 3.117 GB, free: 243.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005773/5.769, allocations: 1.331 MB / 3.119 GB, free: 242.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/5.77, allocations: 1.123 MB / 3.12 GB, free: 241 MB / 0.9323 GB Notification: Performance of SimCode: time 1.433e-06/5.77, allocations: 0 / 3.12 GB, free: 241 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)