Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7178/0.7178, allocations: 141.8 MB / 149.1 MB, free: 13.09 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001212, allocations: 183.8 kB / 181.9 MB, free: 9.773 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 221.4 MB / 436 MB, free: 2.191 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009398/0.0009398, allocations: 102.3 kB / 0.507 GB, free: 10.98 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001913/0.001914, allocations: 271 kB / 0.5884 GB, free: 7.801 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1738/0.1758, allocations: 89.65 MB / 0.676 GB, free: 14.06 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.5788, allocations: 82.77 MB / 0.7568 GB, free: 138.9 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.424/4.003, allocations: 1.69 GB / 2.447 GB, free: 77.16 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/4.003, allocations: 87.94 kB / 2.447 GB, free: 77.07 MB / 0.6982 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.1376/4.141, allocations: 60.96 MB / 2.507 GB, free: 15.91 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/4.141, allocations: 8 kB / 2.507 GB, free: 15.9 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/4.142, allocations: 198.5 kB / 2.507 GB, free: 15.71 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/4.144, allocations: 0.6075 MB / 2.508 GB, free: 15.06 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/4.144, allocations: 28 kB / 2.508 GB, free: 15.03 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/4.144, allocations: 44 kB / 2.508 GB, free: 14.99 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001528/4.145, allocations: 0.9874 MB / 2.509 GB, free: 14 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/4.146, allocations: 0.7194 MB / 2.509 GB, free: 13.24 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/4.147, allocations: 0 / 2.509 GB, free: 13.24 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.634e-05/4.147, allocations: 7.906 kB / 2.509 GB, free: 13.23 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/4.147, allocations: 23.98 kB / 2.509 GB, free: 13.21 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003886/4.151, allocations: 2.27 MB / 2.512 GB, free: 10.88 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/4.152, allocations: 0.7284 MB / 2.512 GB, free: 10.12 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/4.152, allocations: 245.3 kB / 2.512 GB, free: 9.887 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 8.769e-05/4.152, allocations: 32.61 kB / 2.512 GB, free: 9.855 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004699/4.153, allocations: 374.1 kB / 2.513 GB, free: 9.469 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=73): time 2.535e-06/4.153, allocations: 0 / 2.513 GB, free: 9.469 MB / 0.6982 GB Notification: Performance of matching and sorting (n=73): time 0.001557/4.154, allocations: 0.6288 MB / 2.513 GB, free: 8.832 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/4.154, allocations: 255.9 kB / 2.514 GB, free: 8.523 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006752/4.155, allocations: 0.4944 MB / 2.514 GB, free: 8.023 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/4.155, allocations: 29.7 kB / 2.514 GB, free: 7.988 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/4.155, allocations: 296.1 kB / 2.515 GB, free: 7.691 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/4.155, allocations: 232.5 kB / 2.515 GB, free: 7.461 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/4.155, allocations: 0 / 2.515 GB, free: 7.461 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.000119/4.155, allocations: 374.8 kB / 2.515 GB, free: 7.086 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/4.156, allocations: 185.3 kB / 2.515 GB, free: 6.906 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/4.156, allocations: 301 kB / 2.516 GB, free: 6.578 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/4.156, allocations: 239 kB / 2.516 GB, free: 6.352 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/4.156, allocations: 0 / 2.516 GB, free: 6.352 MB / 0.6982 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001401/4.158, allocations: 0.6443 MB / 2.516 GB, free: 5.695 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/4.158, allocations: 12.09 kB / 2.516 GB, free: 5.684 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/4.158, allocations: 0 / 2.516 GB, free: 5.684 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/4.159, allocations: 80.78 kB / 2.516 GB, free: 5.602 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005905/4.159, allocations: 143.8 kB / 2.517 GB, free: 5.461 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/4.161, allocations: 1.462 MB / 2.518 GB, free: 3.875 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/4.162, allocations: 67.61 kB / 2.518 GB, free: 3.809 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/4.162, allocations: 27.92 kB / 2.518 GB, free: 3.781 MB / 0.6982 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.0001621/4.162, allocations: 120.9 kB / 2.518 GB, free: 3.656 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/4.162, allocations: 75.05 kB / 2.518 GB, free: 3.582 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/4.164, allocations: 0.9283 MB / 2.519 GB, free: 2.656 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/4.164, allocations: 8 kB / 2.519 GB, free: 2.648 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/4.164, allocations: 7.984 kB / 2.519 GB, free: 2.641 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/4.164, allocations: 3.984 kB / 2.519 GB, free: 2.637 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/4.167, allocations: 1.691 MB / 2.521 GB, free: 0.8984 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/4.167, allocations: 7.984 kB / 2.521 GB, free: 0.8906 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005773/4.167, allocations: 143.8 kB / 2.521 GB, free: 0.75 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005271/4.168, allocations: 84.78 kB / 2.521 GB, free: 0.6641 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.124e-05/4.168, allocations: 11.98 kB / 2.521 GB, free: 0.6523 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3588/4.527, allocations: 1.482 MB / 2.523 GB, free: 272.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/4.527, allocations: 6.25 kB / 2.523 GB, free: 272.8 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001795/4.529, allocations: 0.8165 MB / 2.523 GB, free: 272.7 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001546/4.53, allocations: 1.23 MB / 2.525 GB, free: 272.2 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003951/4.531, allocations: 284.5 kB / 2.525 GB, free: 272 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/4.531, allocations: 3.75 kB / 2.525 GB, free: 272 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000595/4.531, allocations: 57.84 kB / 2.525 GB, free: 272 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/4.531, allocations: 51.48 kB / 2.525 GB, free: 272 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-05/4.532, allocations: 31.98 kB / 2.525 GB, free: 272 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004969/4.532, allocations: 400.2 kB / 2.525 GB, free: 271.9 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001779/4.534, allocations: 404.3 kB / 2.526 GB, free: 271.9 MB / 0.6982 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.00175/4.536, allocations: 1.054 MB / 2.527 GB, free: 271.8 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001192/4.537, allocations: 0.6436 MB / 2.527 GB, free: 271.7 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/4.537, allocations: 3.406 kB / 2.527 GB, free: 271.7 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0006183/4.537, allocations: 445.2 kB / 2.528 GB, free: 271.6 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/4.538, allocations: 209.5 kB / 2.528 GB, free: 271.6 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/4.542, allocations: 1.342 MB / 2.529 GB, free: 271.3 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007766/4.543, allocations: 1.123 MB / 2.53 GB, free: 270.6 MB / 0.6982 GB Notification: Performance of SimCode: time 9.32e-07/4.543, allocations: 0 / 2.53 GB, free: 270.6 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)