Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.005567/0.005568, allocations: 180.7 kB / 7.459 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7188/0.7188, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.694/1.694, allocations: 221.3 MB / 395 MB, free: 10.2 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.001014/0.001014, allocations: 92.84 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5446/0.5457, allocations: 88.44 MB / 0.5529 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.7564, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.215/5.971, allocations: 1.693 GB / 2.326 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004263/5.972, allocations: 91.39 kB / 2.326 GB, free: 259.5 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.1704/6.142, allocations: 60.93 MB / 2.386 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.204e-05/6.142, allocations: 8 kB / 2.386 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/6.143, allocations: 198.6 kB / 2.386 GB, free: 213.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/6.145, allocations: 0.6153 MB / 2.387 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/6.145, allocations: 27.91 kB / 2.387 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.399e-05/6.145, allocations: 52 kB / 2.387 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001486/6.146, allocations: 0.9796 MB / 2.388 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/6.147, allocations: 0.7233 MB / 2.388 GB, free: 211 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/6.147, allocations: 0 / 2.388 GB, free: 211 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.587e-05/6.148, allocations: 3.938 kB / 2.388 GB, free: 211 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/6.148, allocations: 20 kB / 2.388 GB, free: 211 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003838/6.151, allocations: 2.282 MB / 2.391 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009856/6.152, allocations: 0.7284 MB / 2.391 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/6.153, allocations: 238.8 kB / 2.392 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.764e-05/6.153, allocations: 36.67 kB / 2.392 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004955/6.153, allocations: 370.1 kB / 2.392 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 2.695e-06/6.153, allocations: 0 / 2.392 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.001598/6.155, allocations: 0.6403 MB / 2.393 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/6.155, allocations: 244 kB / 2.393 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007639/6.156, allocations: 0.4945 MB / 2.393 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/6.156, allocations: 25.7 kB / 2.393 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/6.156, allocations: 304.1 kB / 2.394 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/6.156, allocations: 232.5 kB / 2.394 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/6.156, allocations: 0 / 2.394 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001435/6.157, allocations: 378.7 kB / 2.394 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/6.157, allocations: 189.3 kB / 2.394 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/6.157, allocations: 295.3 kB / 2.395 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/6.158, allocations: 235 kB / 2.395 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/6.158, allocations: 0 / 2.395 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001518/6.159, allocations: 0.6521 MB / 2.395 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/6.159, allocations: 4 kB / 2.396 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/6.159, allocations: 0 / 2.396 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006371/6.16, allocations: 88.86 kB / 2.396 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/6.16, allocations: 139.8 kB / 2.396 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/6.162, allocations: 1.457 MB / 2.397 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007318/6.163, allocations: 63.61 kB / 2.397 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.848e-05/6.163, allocations: 23.98 kB / 2.397 GB, free: 201.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0001852/6.163, allocations: 124.8 kB / 2.397 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/6.164, allocations: 71.16 kB / 2.397 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/6.166, allocations: 0.9363 MB / 2.398 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/6.166, allocations: 8 kB / 2.398 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/6.166, allocations: 0 / 2.398 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/6.166, allocations: 3.984 kB / 2.398 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/6.169, allocations: 1.705 MB / 2.4 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/6.169, allocations: 0 / 2.4 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000702/6.17, allocations: 151.8 kB / 2.4 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006237/6.17, allocations: 84.69 kB / 2.4 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.298e-05/6.17, allocations: 15.98 kB / 2.4 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/6.172, allocations: 1.48 MB / 2.402 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/6.172, allocations: 0 / 2.402 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001591/6.174, allocations: 0.8244 MB / 2.402 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001679/6.175, allocations: 1.235 MB / 2.404 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004776/6.176, allocations: 275.8 kB / 2.404 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/6.176, allocations: 4 kB / 2.404 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006145/6.177, allocations: 59.94 kB / 2.404 GB, free: 194.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/6.177, allocations: 48.7 kB / 2.404 GB, free: 194.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.284e-05/6.177, allocations: 31.98 kB / 2.404 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006326/6.178, allocations: 406.9 kB / 2.404 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002264/6.18, allocations: 407 kB / 2.405 GB, free: 193.5 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 (87): * Single equations (assignments): 84 * 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.002177/6.182, allocations: 1.051 MB / 2.406 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001344/6.183, allocations: 0.6428 MB / 2.407 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/6.183, allocations: 4 kB / 2.407 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006343/6.184, allocations: 452.8 kB / 2.407 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/6.185, allocations: 214.8 kB / 2.407 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/6.189, allocations: 1.335 MB / 2.408 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/6.19, allocations: 1.123 MB / 2.41 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of SimCode: time 3.547e-06/6.19, allocations: 0 / 2.41 GB, free: 188.6 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)