Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_dev_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.003473/0.003473, allocations: 185.6 kB / 7.459 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6904/0.6904, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 221.3 MB / 395 MB, free: 10.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009592/0.0009592, allocations: 98.91 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.538/0.539, allocations: 88.43 MB / 0.5529 GB, free: 88.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.7597, allocations: 82.31 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.701/5.46, allocations: 1.693 GB / 2.327 GB, free: 259.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/5.461, allocations: 90.88 kB / 2.327 GB, free: 259.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.1589/5.62, allocations: 70.04 MB / 2.395 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/5.62, allocations: 8 kB / 2.395 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/5.621, allocations: 222.4 kB / 2.395 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/5.623, allocations: 0.6231 MB / 2.396 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.047e-05/5.623, allocations: 35.98 kB / 2.396 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/5.623, allocations: 52 kB / 2.396 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002127/5.625, allocations: 1.03 MB / 2.397 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/5.627, allocations: 0.7731 MB / 2.398 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/5.627, allocations: 4 kB / 2.398 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/5.627, allocations: 4 kB / 2.398 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/5.627, allocations: 24 kB / 2.398 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004885/5.632, allocations: 2.355 MB / 2.4 GB, free: 199.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/5.634, allocations: 0.7869 MB / 2.401 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003982/5.634, allocations: 246.8 kB / 2.401 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/5.634, allocations: 28.69 kB / 2.401 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000524/5.635, allocations: 385.9 kB / 2.402 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 5.06e-06/5.635, allocations: 0 / 2.402 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.001892/5.637, allocations: 0.6366 MB / 2.402 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/5.637, allocations: 244 kB / 2.402 GB, free: 197 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008284/5.638, allocations: 0.4943 MB / 2.403 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.22e-05/5.638, allocations: 29.7 kB / 2.403 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/5.638, allocations: 324 kB / 2.403 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/5.638, allocations: 224.5 kB / 2.403 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/5.638, allocations: 0 / 2.403 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001005/5.638, allocations: 382.7 kB / 2.404 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/5.639, allocations: 193.3 kB / 2.404 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/5.639, allocations: 290.4 kB / 2.404 GB, free: 195 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/5.64, allocations: 239.1 kB / 2.404 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/5.64, allocations: 0 / 2.404 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001533/5.641, allocations: 0.6482 MB / 2.405 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/5.641, allocations: 8 kB / 2.405 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/5.641, allocations: 3.984 kB / 2.405 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006937/5.642, allocations: 80.84 kB / 2.405 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006634/5.643, allocations: 143.8 kB / 2.405 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/5.645, allocations: 1.453 MB / 2.407 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000672/5.645, allocations: 71.59 kB / 2.407 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.275e-05/5.645, allocations: 23.98 kB / 2.407 GB, free: 192.2 MB / 0.6823 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.0002005/5.645, allocations: 123.4 kB / 2.407 GB, free: 192.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/5.646, allocations: 67.16 kB / 2.407 GB, free: 192 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/5.648, allocations: 0.9206 MB / 2.408 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/5.648, allocations: 11.94 kB / 2.408 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/5.648, allocations: 0 / 2.408 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/5.648, allocations: 7.969 kB / 2.408 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002884/5.651, allocations: 1.716 MB / 2.41 GB, free: 189.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/5.651, allocations: 0 / 2.41 GB, free: 189.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006086/5.651, allocations: 151.8 kB / 2.41 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005326/5.652, allocations: 84.78 kB / 2.41 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.61e-05/5.652, allocations: 19.98 kB / 2.41 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/5.654, allocations: 1.476 MB / 2.411 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/5.654, allocations: 0 / 2.411 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001491/5.655, allocations: 0.809 MB / 2.412 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001684/5.657, allocations: 1.235 MB / 2.413 GB, free: 185.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004733/5.657, allocations: 275.8 kB / 2.414 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/5.658, allocations: 4 kB / 2.414 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007251/5.658, allocations: 59.94 kB / 2.414 GB, free: 185 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/5.659, allocations: 52.7 kB / 2.414 GB, free: 185 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.409e-05/5.659, allocations: 31.92 kB / 2.414 GB, free: 185 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005172/5.659, allocations: 406.9 kB / 2.414 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00221/5.661, allocations: 422.9 kB / 2.414 GB, free: 184.2 MB / 0.6823 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 (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.002118/5.663, allocations: 1.051 MB / 2.416 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001182/5.665, allocations: 0.6467 MB / 2.416 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/5.665, allocations: 0 / 2.416 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006762/5.665, allocations: 448.8 kB / 2.417 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/5.667, allocations: 216.4 kB / 2.417 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/5.671, allocations: 1.386 MB / 2.418 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008237/5.671, allocations: 1.142 MB / 2.419 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of SimCode: time 7.52e-07/5.671, allocations: 0 / 2.419 GB, free: 179.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)