Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.335/1.335, allocations: 249.4 MB / 256.7 MB, free: 7.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 181.2 kB / 316 MB, free: 7.926 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.167/1.167, allocations: 205.1 MB / 0.5667 GB, free: 3.336 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009186/0.0009185, allocations: 87.33 kB / 0.671 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.3602/0.3612, allocations: 112.5 MB / 0.7808 GB, free: 106.7 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.5367, allocations: 106.3 MB / 0.8847 GB, free: 260 kB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.671/5.207, allocations: 2.192 GB / 3.076 GB, free: 232.7 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004259/5.208, allocations: 91.95 kB / 3.076 GB, free: 232.6 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.1467/5.355, allocations: 69.72 MB / 3.145 GB, free: 162.5 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/5.355, allocations: 8 kB / 3.145 GB, free: 162.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009165/5.356, allocations: 206.4 kB / 3.145 GB, free: 162.3 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009789/5.357, allocations: 0.6465 MB / 3.145 GB, free: 161.6 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/5.357, allocations: 28 kB / 3.145 GB, free: 161.6 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.769e-05/5.357, allocations: 52 kB / 3.145 GB, free: 161.5 MB / 0.8731 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001371/5.358, allocations: 1.058 MB / 3.147 GB, free: 160.5 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/5.359, allocations: 0.8091 MB / 3.147 GB, free: 159.6 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/5.359, allocations: 0 / 3.147 GB, free: 159.6 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.039e-05/5.359, allocations: 0 / 3.147 GB, free: 159.6 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/5.359, allocations: 28 kB / 3.147 GB, free: 159.6 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/5.363, allocations: 2.572 MB / 3.15 GB, free: 157 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009378/5.364, allocations: 0.698 MB / 3.151 GB, free: 156.2 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/5.364, allocations: 262.8 kB / 3.151 GB, free: 156 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.763e-05/5.364, allocations: 40.59 kB / 3.151 GB, free: 155.9 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004813/5.365, allocations: 406 kB / 3.151 GB, free: 155.5 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=80): time 1.773e-06/5.365, allocations: 0 / 3.151 GB, free: 155.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80): time 0.001744/5.366, allocations: 0.7263 MB / 3.152 GB, free: 154.8 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/5.366, allocations: 240 kB / 3.152 GB, free: 154.5 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000561/5.367, allocations: 0.5219 MB / 3.153 GB, free: 154 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/5.367, allocations: 29.7 kB / 3.153 GB, free: 153.9 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/5.367, allocations: 332 kB / 3.153 GB, free: 153.6 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/5.367, allocations: 248.2 kB / 3.153 GB, free: 153.4 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/5.367, allocations: 4 kB / 3.153 GB, free: 153.4 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001038/5.368, allocations: 382.8 kB / 3.154 GB, free: 153 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/5.368, allocations: 205.5 kB / 3.154 GB, free: 152.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/5.368, allocations: 311.5 kB / 3.154 GB, free: 152.4 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005715/5.369, allocations: 308.3 kB / 3.154 GB, free: 152.1 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/5.369, allocations: 0 / 3.154 GB, free: 152.1 MB / 0.8731 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001571/5.37, allocations: 0.7523 MB / 3.155 GB, free: 151.4 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/5.37, allocations: 4 kB / 3.155 GB, free: 151.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/5.37, allocations: 8 kB / 3.155 GB, free: 151.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006133/5.371, allocations: 80.84 kB / 3.155 GB, free: 151.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006491/5.372, allocations: 163.8 kB / 3.155 GB, free: 151.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/5.373, allocations: 1.453 MB / 3.157 GB, free: 149.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005968/5.374, allocations: 71.52 kB / 3.157 GB, free: 149.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/5.374, allocations: 28.05 kB / 3.157 GB, free: 149.4 MB / 0.8731 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 (84): * Single equations (assignments): 83 * 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.0001767/5.374, allocations: 116.9 kB / 3.157 GB, free: 149.3 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/5.374, allocations: 75.06 kB / 3.157 GB, free: 149.3 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/5.377, allocations: 1.062 MB / 3.158 GB, free: 148.2 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/5.377, allocations: 12 kB / 3.158 GB, free: 148.2 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/5.377, allocations: 0 / 3.158 GB, free: 148.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/5.377, allocations: 7.922 kB / 3.158 GB, free: 148.2 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/5.38, allocations: 1.873 MB / 3.16 GB, free: 146.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/5.38, allocations: 0 / 3.16 GB, free: 146.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006457/5.38, allocations: 159.8 kB / 3.16 GB, free: 146.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005067/5.381, allocations: 88.77 kB / 3.16 GB, free: 146 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/5.381, allocations: 19.98 kB / 3.16 GB, free: 146 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/5.382, allocations: 1.473 MB / 3.162 GB, free: 144.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/5.382, allocations: 0 / 3.162 GB, free: 144.4 MB / 0.8731 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001567/5.384, allocations: 0.9141 MB / 3.163 GB, free: 143.4 MB / 0.8731 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001683/5.386, allocations: 1.325 MB / 3.164 GB, free: 142.1 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/5.386, allocations: 291.8 kB / 3.164 GB, free: 141.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/5.386, allocations: 7.906 kB / 3.164 GB, free: 141.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006176/5.387, allocations: 55.95 kB / 3.164 GB, free: 141.7 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/5.387, allocations: 56.69 kB / 3.164 GB, free: 141.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.204e-05/5.387, allocations: 35.98 kB / 3.164 GB, free: 141.6 MB / 0.8731 GB Notification: Performance of sort global known variables: time 0.0005491/5.388, allocations: 435.1 kB / 3.165 GB, free: 141.2 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001924/5.39, allocations: 422.9 kB / 3.165 GB, free: 140.8 MB / 0.8731 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 (94): * Single equations (assignments): 91 * 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.001623/5.391, allocations: 1.033 MB / 3.166 GB, free: 139.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001348/5.393, allocations: 0.7059 MB / 3.167 GB, free: 139.1 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/5.393, allocations: 0 / 3.167 GB, free: 139.1 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006176/5.393, allocations: 472.6 kB / 3.167 GB, free: 138.6 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000985/5.394, allocations: 213.6 kB / 3.167 GB, free: 138.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/5.398, allocations: 1.448 MB / 3.169 GB, free: 137 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007119/5.398, allocations: 1.166 MB / 3.17 GB, free: 135.8 MB / 0.8731 GB Notification: Performance of SimCode: time 8.22e-07/5.398, allocations: 0 / 3.17 GB, free: 135.8 MB / 0.8731 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)