Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.2/1.2, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009912/0.0009911, allocations: 186.3 kB / 316 MB, free: 7.207 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.42/1.42, allocations: 205.1 MB / 0.5667 GB, free: 23.64 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.0009169/0.000917, allocations: 97.31 kB / 0.671 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2478/0.2487, allocations: 112.5 MB / 0.7808 GB, free: 312 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5601/0.8089, allocations: 106.3 MB / 0.8847 GB, free: 76.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.813/5.622, allocations: 2.19 GB / 3.075 GB, free: 328.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/5.623, allocations: 95.73 kB / 3.075 GB, free: 328.3 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.1321/5.755, allocations: 59.99 MB / 3.133 GB, free: 275.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/5.755, allocations: 12 kB / 3.133 GB, free: 275.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/5.756, allocations: 206.5 kB / 3.134 GB, free: 275.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/5.758, allocations: 0.6367 MB / 3.134 GB, free: 275 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/5.758, allocations: 67.69 kB / 3.134 GB, free: 274.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/5.758, allocations: 44 kB / 3.134 GB, free: 274.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001615/5.76, allocations: 0.9874 MB / 3.135 GB, free: 273.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/5.761, allocations: 0.7311 MB / 3.136 GB, free: 273.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/5.761, allocations: 3.938 kB / 3.136 GB, free: 273.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.169e-05/5.761, allocations: 4 kB / 3.136 GB, free: 273.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/5.761, allocations: 23.94 kB / 3.136 GB, free: 273.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004086/5.765, allocations: 2.291 MB / 3.138 GB, free: 270.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/5.767, allocations: 0.7827 MB / 3.139 GB, free: 269.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/5.767, allocations: 246.8 kB / 3.139 GB, free: 269.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.2e-05/5.767, allocations: 36.67 kB / 3.139 GB, free: 269.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005239/5.768, allocations: 390 kB / 3.14 GB, free: 269.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 3.807e-06/5.768, allocations: 0 / 3.14 GB, free: 269.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.001604/5.769, allocations: 0.656 MB / 3.14 GB, free: 268.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/5.77, allocations: 244 kB / 3.141 GB, free: 268.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007055/5.77, allocations: 0.4984 MB / 3.141 GB, free: 267.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.606e-05/5.77, allocations: 25.7 kB / 3.141 GB, free: 267.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/5.771, allocations: 300.2 kB / 3.141 GB, free: 267.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/5.771, allocations: 236.4 kB / 3.142 GB, free: 267.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/5.771, allocations: 0 / 3.142 GB, free: 267.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.219e-05/5.771, allocations: 374.8 kB / 3.142 GB, free: 266.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/5.771, allocations: 197.3 kB / 3.142 GB, free: 266.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/5.771, allocations: 302.3 kB / 3.142 GB, free: 266.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/5.772, allocations: 243.1 kB / 3.143 GB, free: 266.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/5.772, allocations: 0 / 3.143 GB, free: 266.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001393/5.773, allocations: 0.6638 MB / 3.143 GB, free: 265.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/5.773, allocations: 8.062 kB / 3.143 GB, free: 265.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/5.773, allocations: 0 / 3.143 GB, free: 265.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006066/5.774, allocations: 84.77 kB / 3.143 GB, free: 265.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006416/5.775, allocations: 147.8 kB / 3.144 GB, free: 265.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/5.776, allocations: 1.465 MB / 3.145 GB, free: 263.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006949/5.777, allocations: 67.56 kB / 3.145 GB, free: 263.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/5.777, allocations: 27.97 kB / 3.145 GB, free: 263.5 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 (78): * Single equations (assignments): 77 * 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.0001805/5.777, allocations: 124.8 kB / 3.145 GB, free: 263.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/5.777, allocations: 71.16 kB / 3.145 GB, free: 263.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/5.779, allocations: 0.9799 MB / 3.146 GB, free: 262.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/5.779, allocations: 12 kB / 3.146 GB, free: 262.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/5.78, allocations: 0 / 3.146 GB, free: 262.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/5.78, allocations: 7.922 kB / 3.146 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/5.782, allocations: 1.756 MB / 3.148 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/5.782, allocations: 0 / 3.148 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006581/5.783, allocations: 159.8 kB / 3.148 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004985/5.783, allocations: 88.77 kB / 3.148 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-05/5.783, allocations: 15.98 kB / 3.148 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/5.785, allocations: 1.476 MB / 3.15 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/5.785, allocations: 0 / 3.15 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001445/5.786, allocations: 0.8595 MB / 3.151 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001573/5.788, allocations: 1.274 MB / 3.152 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003895/5.788, allocations: 287.7 kB / 3.152 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/5.789, allocations: 0 / 3.152 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006739/5.789, allocations: 59.94 kB / 3.152 GB, free: 256 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/5.789, allocations: 52.69 kB / 3.152 GB, free: 256 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/5.789, allocations: 35.98 kB / 3.152 GB, free: 256 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004615/5.79, allocations: 414.9 kB / 3.153 GB, free: 255.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00172/5.792, allocations: 379 kB / 3.153 GB, free: 255.2 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 (93): * Single equations (assignments): 90 * 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.0018/5.793, allocations: 1.019 MB / 3.154 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001182/5.795, allocations: 0.6625 MB / 3.155 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/5.795, allocations: 0 / 3.155 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006605/5.795, allocations: 476.6 kB / 3.155 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/5.796, allocations: 211.9 kB / 3.155 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/5.8, allocations: 1.355 MB / 3.157 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007773/5.801, allocations: 1.147 MB / 3.158 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of SimCode: time 5.81e-07/5.801, allocations: 0 / 3.158 GB, free: 250.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)