Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.002658/0.002657, allocations: 180.2 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7022/0.7022, allocations: 133.5 MB / 141.4 MB, free: 15.82 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.502/1.502, allocations: 221.3 MB / 395 MB, free: 10.26 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.001104/0.001103, allocations: 100.9 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5039/0.5051, allocations: 88.43 MB / 0.5529 GB, free: 88.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.7011, allocations: 82.31 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.918/5.62, allocations: 1.693 GB / 2.326 GB, free: 261.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004117/5.62, allocations: 96.78 kB / 2.326 GB, free: 261.1 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.1623/5.782, allocations: 60.2 MB / 2.385 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/5.782, allocations: 8 kB / 2.385 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/5.783, allocations: 190.6 kB / 2.385 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/5.784, allocations: 0.6153 MB / 2.386 GB, free: 221 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/5.785, allocations: 28 kB / 2.386 GB, free: 221 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/5.785, allocations: 44 kB / 2.386 GB, free: 221 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001352/5.786, allocations: 0.9639 MB / 2.387 GB, free: 220 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/5.787, allocations: 0.7038 MB / 2.387 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/5.787, allocations: 0 / 2.387 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.698e-05/5.787, allocations: 3.938 kB / 2.387 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/5.787, allocations: 20 kB / 2.387 GB, free: 219.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003395/5.791, allocations: 2.231 MB / 2.39 GB, free: 216.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009935/5.792, allocations: 0.6973 MB / 2.39 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/5.792, allocations: 234.8 kB / 2.391 GB, free: 216 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.954e-05/5.792, allocations: 36.67 kB / 2.391 GB, free: 216 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004872/5.793, allocations: 365.9 kB / 2.391 GB, free: 215.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 2.765e-06/5.793, allocations: 0 / 2.391 GB, free: 215.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001447/5.794, allocations: 0.621 MB / 2.392 GB, free: 214.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/5.794, allocations: 244 kB / 2.392 GB, free: 214.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000584/5.795, allocations: 498.3 kB / 2.392 GB, free: 214.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/5.795, allocations: 25.7 kB / 2.392 GB, free: 214.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/5.795, allocations: 292.2 kB / 2.393 GB, free: 213.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/5.795, allocations: 224.6 kB / 2.393 GB, free: 213.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/5.795, allocations: 0 / 2.393 GB, free: 213.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001467/5.795, allocations: 370.8 kB / 2.393 GB, free: 213.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/5.796, allocations: 181.3 kB / 2.393 GB, free: 213.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/5.796, allocations: 286.4 kB / 2.394 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/5.796, allocations: 231.1 kB / 2.394 GB, free: 212.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/5.796, allocations: 4 kB / 2.394 GB, free: 212.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001329/5.798, allocations: 0.617 MB / 2.394 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/5.798, allocations: 10.56 kB / 2.394 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/5.798, allocations: 8 kB / 2.394 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006505/5.798, allocations: 84.77 kB / 2.394 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005574/5.799, allocations: 131.8 kB / 2.395 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/5.801, allocations: 1.457 MB / 2.396 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005548/5.801, allocations: 71.45 kB / 2.396 GB, free: 210 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/5.801, allocations: 24.06 kB / 2.396 GB, free: 210 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 (72): * Single equations (assignments): 71 * 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.0001749/5.802, allocations: 116.9 kB / 2.396 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/5.802, allocations: 75.16 kB / 2.396 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/5.804, allocations: 0.8775 MB / 2.397 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/5.804, allocations: 8 kB / 2.397 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/5.804, allocations: 0 / 2.397 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/5.804, allocations: 7.984 kB / 2.397 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/5.807, allocations: 1.658 MB / 2.399 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/5.807, allocations: 0 / 2.399 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005441/5.807, allocations: 143.8 kB / 2.399 GB, free: 207 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005295/5.808, allocations: 80.78 kB / 2.399 GB, free: 207 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.125e-05/5.808, allocations: 15.98 kB / 2.399 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/5.809, allocations: 1.488 MB / 2.4 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/5.809, allocations: 3.938 kB / 2.4 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001436/5.811, allocations: 0.7894 MB / 2.401 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001636/5.813, allocations: 1.208 MB / 2.402 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003872/5.813, allocations: 267.9 kB / 2.403 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/5.813, allocations: 4 kB / 2.403 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006098/5.814, allocations: 59.94 kB / 2.403 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/5.814, allocations: 48.7 kB / 2.403 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/5.814, allocations: 27.98 kB / 2.403 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005333/5.814, allocations: 402.9 kB / 2.403 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002304/5.817, allocations: 399 kB / 2.404 GB, free: 202.1 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 (81): * Single equations (assignments): 78 * 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.002504/5.819, allocations: 1.052 MB / 2.405 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001295/5.821, allocations: 0.6232 MB / 2.405 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/5.821, allocations: 8.125 kB / 2.405 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007609/5.821, allocations: 424.6 kB / 2.406 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/5.823, allocations: 214.7 kB / 2.406 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/5.827, allocations: 1.299 MB / 2.407 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/5.828, allocations: 1.111 MB / 2.408 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.403e-06/5.828, allocations: 3.938 kB / 2.408 GB, free: 197.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)