Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.27/1.27, allocations: 249.4 MB / 256.7 MB, free: 7.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 173.3 kB / 316 MB, free: 3.617 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.158/1.158, allocations: 205.1 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008544/0.0008544, allocations: 89.09 kB / 0.671 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3583/0.3592, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.5499, allocations: 106.3 MB / 0.8847 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.603/5.153, allocations: 2.19 GB / 3.075 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/5.153, allocations: 95.88 kB / 3.075 GB, free: 214 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.1197/5.273, allocations: 58.73 MB / 3.132 GB, free: 155 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/5.273, allocations: 8 kB / 3.132 GB, free: 155 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008477/5.274, allocations: 194.6 kB / 3.132 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008117/5.275, allocations: 0.5959 MB / 3.133 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/5.275, allocations: 27.91 kB / 3.133 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.231e-05/5.275, allocations: 47.98 kB / 3.133 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001148/5.276, allocations: 0.9561 MB / 3.134 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009015/5.277, allocations: 0.6921 MB / 3.134 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/5.277, allocations: 0 / 3.134 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/5.277, allocations: 4 kB / 3.134 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/5.277, allocations: 16 kB / 3.134 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002883/5.28, allocations: 2.201 MB / 3.137 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008948/5.281, allocations: 0.7064 MB / 3.137 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/5.281, allocations: 234.8 kB / 3.138 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.536e-05/5.281, allocations: 28.59 kB / 3.138 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004286/5.282, allocations: 374 kB / 3.138 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 3.386e-06/5.282, allocations: 0 / 3.138 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.001399/5.283, allocations: 0.617 MB / 3.139 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/5.283, allocations: 244 kB / 3.139 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005034/5.284, allocations: 0.4904 MB / 3.139 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/5.284, allocations: 29.7 kB / 3.139 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/5.284, allocations: 280.2 kB / 3.14 GB, free: 147 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/5.284, allocations: 228.6 kB / 3.14 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/5.284, allocations: 0 / 3.14 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.72e-05/5.284, allocations: 378.8 kB / 3.14 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/5.284, allocations: 181.3 kB / 3.14 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/5.285, allocations: 278.4 kB / 3.141 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/5.285, allocations: 239 kB / 3.141 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/5.285, allocations: 0 / 3.141 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001252/5.286, allocations: 0.6248 MB / 3.141 GB, free: 145 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/5.286, allocations: 7.984 kB / 3.141 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/5.286, allocations: 4 kB / 3.141 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000594/5.287, allocations: 76.84 kB / 3.141 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/5.287, allocations: 135.8 kB / 3.142 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/5.289, allocations: 1.461 MB / 3.143 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/5.289, allocations: 59.55 kB / 3.143 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/5.29, allocations: 23.98 kB / 3.143 GB, free: 143.1 MB / 0.8698 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.0001341/5.29, allocations: 123.5 kB / 3.143 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.517e-05/5.29, allocations: 71.16 kB / 3.143 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/5.292, allocations: 0.8852 MB / 3.144 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/5.292, allocations: 8 kB / 3.144 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/5.292, allocations: 0 / 3.144 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/5.292, allocations: 11.98 kB / 3.144 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/5.294, allocations: 1.635 MB / 3.146 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/5.294, allocations: 4 kB / 3.146 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005099/5.294, allocations: 135.9 kB / 3.146 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004984/5.295, allocations: 96.62 kB / 3.146 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.3e-05/5.295, allocations: 11.92 kB / 3.146 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/5.297, allocations: 1.484 MB / 3.147 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/5.297, allocations: 3.984 kB / 3.147 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001388/5.298, allocations: 0.7892 MB / 3.148 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001438/5.299, allocations: 1.204 MB / 3.149 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003589/5.3, allocations: 267.9 kB / 3.15 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/5.3, allocations: 4 kB / 3.15 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000546/5.3, allocations: 55.94 kB / 3.15 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/5.301, allocations: 48.7 kB / 3.15 GB, free: 136 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/5.301, allocations: 27.98 kB / 3.15 GB, free: 136 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.00045/5.301, allocations: 406.9 kB / 3.15 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001704/5.303, allocations: 367.1 kB / 3.151 GB, free: 135.3 MB / 0.8698 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.001412/5.304, allocations: 1.002 MB / 3.152 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001046/5.305, allocations: 0.6234 MB / 3.152 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/5.305, allocations: 4 kB / 3.152 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005613/5.306, allocations: 432.6 kB / 3.153 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009766/5.307, allocations: 203.2 kB / 3.153 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/5.31, allocations: 1.299 MB / 3.154 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006187/5.311, allocations: 1.1 MB / 3.155 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of SimCode: time 6.92e-07/5.311, allocations: 0 / 3.155 GB, free: 130.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)