Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_dev_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.003151/0.003151, allocations: 185.1 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6755/0.6755, 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.523/1.523, 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.0009666/0.0009667, allocations: 95.41 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5401/0.5411, allocations: 88.43 MB / 0.5529 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.739, allocations: 82.29 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.893/5.632, allocations: 1.693 GB / 2.326 GB, free: 258.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003719/5.632, allocations: 94.27 kB / 2.326 GB, free: 258.8 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.15/5.782, allocations: 60.94 MB / 2.386 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/5.782, allocations: 8 kB / 2.386 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000919/5.783, allocations: 194.6 kB / 2.386 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008998/5.784, allocations: 0.6036 MB / 2.387 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/5.784, allocations: 31.91 kB / 2.387 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.007e-05/5.784, allocations: 48 kB / 2.387 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001294/5.786, allocations: 0.9913 MB / 2.388 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/5.787, allocations: 0.7155 MB / 2.388 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/5.787, allocations: 4 kB / 2.388 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-05/5.787, allocations: 3.984 kB / 2.388 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/5.787, allocations: 20 kB / 2.388 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004141/5.791, allocations: 2.286 MB / 2.391 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/5.792, allocations: 0.7207 MB / 2.391 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/5.792, allocations: 246.8 kB / 2.392 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.573e-05/5.793, allocations: 32.59 kB / 2.392 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004695/5.793, allocations: 374.1 kB / 2.392 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.326e-06/5.793, allocations: 0 / 2.392 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.001528/5.795, allocations: 0.6365 MB / 2.393 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/5.795, allocations: 244 kB / 2.393 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006118/5.795, allocations: 0.4984 MB / 2.393 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.824e-05/5.795, allocations: 25.7 kB / 2.393 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/5.796, allocations: 300 kB / 2.394 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/5.796, allocations: 232.5 kB / 2.394 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/5.796, allocations: 0 / 2.394 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.138e-05/5.796, allocations: 378.7 kB / 2.394 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/5.796, allocations: 189.3 kB / 2.394 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/5.796, allocations: 295.3 kB / 2.395 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/5.797, allocations: 239 kB / 2.395 GB, free: 203 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/5.797, allocations: 0 / 2.395 GB, free: 203 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001327/5.798, allocations: 0.6482 MB / 2.395 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/5.798, allocations: 8 kB / 2.396 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/5.798, allocations: 4 kB / 2.396 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006507/5.799, allocations: 80.86 kB / 2.396 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006466/5.799, allocations: 143.8 kB / 2.396 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/5.802, allocations: 1.453 MB / 2.397 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008261/5.802, allocations: 63.55 kB / 2.397 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.747e-05/5.802, allocations: 32.05 kB / 2.397 GB, free: 200.4 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.0001722/5.803, allocations: 120.8 kB / 2.397 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/5.803, allocations: 71.14 kB / 2.397 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/5.805, allocations: 0.9324 MB / 2.398 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/5.805, allocations: 11.94 kB / 2.398 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/5.805, allocations: 3.984 kB / 2.398 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/5.805, allocations: 3.984 kB / 2.398 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/5.807, allocations: 1.697 MB / 2.4 GB, free: 197.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/5.807, allocations: 4 kB / 2.4 GB, free: 197.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005605/5.808, allocations: 143.8 kB / 2.4 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005116/5.809, allocations: 88.69 kB / 2.4 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.644e-05/5.809, allocations: 11.98 kB / 2.4 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/5.81, allocations: 1.484 MB / 2.402 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/5.81, allocations: 4.031 kB / 2.402 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001431/5.812, allocations: 0.8244 MB / 2.402 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001612/5.813, allocations: 1.235 MB / 2.404 GB, free: 193.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004553/5.814, allocations: 279.8 kB / 2.404 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/5.814, allocations: 0 / 2.404 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006036/5.814, allocations: 55.95 kB / 2.404 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/5.815, allocations: 60.69 kB / 2.404 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-05/5.815, allocations: 31.98 kB / 2.404 GB, free: 193.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004879/5.815, allocations: 398.9 kB / 2.404 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001971/5.817, allocations: 411 kB / 2.405 GB, free: 192.4 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.001927/5.819, allocations: 1.045 MB / 2.406 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001262/5.82, allocations: 0.6508 MB / 2.407 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/5.82, allocations: 0 / 2.407 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006354/5.821, allocations: 444.7 kB / 2.407 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/5.822, allocations: 217.4 kB / 2.407 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/5.826, allocations: 1.343 MB / 2.408 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007235/5.827, allocations: 1.127 MB / 2.41 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/5.827, allocations: 0 / 2.41 GB, free: 187.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)