Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.272/2.272, allocations: 284.8 MB / 292.1 MB, free: 9.82 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.00162, allocations: 174.4 kB / 360.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.1 MB / 0.6187 GB, free: 3.348 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 98.78 kB / 0.7317 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5373/0.5386, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.748, allocations: 115.2 MB / 0.9628 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.666/5.414, allocations: 2.072 GB / 3.035 GB, free: 170 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/5.414, allocations: 98 kB / 3.035 GB, free: 170 MB / 0.9323 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.2391/5.653, allocations: 60.66 MB / 3.094 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/5.653, allocations: 8 kB / 3.094 GB, free: 119.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/5.655, allocations: 198.6 kB / 3.094 GB, free: 119.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/5.656, allocations: 0.623 MB / 3.095 GB, free: 118.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/5.656, allocations: 37.98 kB / 3.095 GB, free: 118.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/5.656, allocations: 44 kB / 3.095 GB, free: 118.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002243/5.659, allocations: 0.9952 MB / 3.096 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/5.661, allocations: 0.7388 MB / 3.096 GB, free: 116.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/5.661, allocations: 0 / 3.096 GB, free: 116.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/5.661, allocations: 4 kB / 3.096 GB, free: 116.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/5.661, allocations: 16 kB / 3.096 GB, free: 116.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005825/5.667, allocations: 2.298 MB / 3.099 GB, free: 114.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/5.669, allocations: 0.7884 MB / 3.099 GB, free: 113.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005852/5.67, allocations: 250.8 kB / 3.1 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/5.67, allocations: 36.67 kB / 3.1 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000821/5.671, allocations: 390 kB / 3.1 GB, free: 112.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=76): time 3.317e-06/5.671, allocations: 4 kB / 3.1 GB, free: 112.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=76): time 0.002698/5.673, allocations: 0.6599 MB / 3.101 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/5.674, allocations: 240 kB / 3.101 GB, free: 111.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009777/5.675, allocations: 0.514 MB / 3.101 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-05/5.675, allocations: 29.7 kB / 3.102 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/5.675, allocations: 292.2 kB / 3.102 GB, free: 111 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/5.675, allocations: 236.4 kB / 3.102 GB, free: 110.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/5.675, allocations: 0 / 3.102 GB, free: 110.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001157/5.675, allocations: 378.8 kB / 3.102 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/5.676, allocations: 193.3 kB / 3.103 GB, free: 110.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006196/5.677, allocations: 306.3 kB / 3.103 GB, free: 109.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007293/5.677, allocations: 246.9 kB / 3.103 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/5.677, allocations: 4 kB / 3.103 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002618/5.68, allocations: 0.6678 MB / 3.104 GB, free: 109 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/5.68, allocations: 4 kB / 3.104 GB, free: 109 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/5.68, allocations: 4 kB / 3.104 GB, free: 109 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/5.681, allocations: 80.84 kB / 3.104 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/5.682, allocations: 147.8 kB / 3.104 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002674/5.685, allocations: 1.461 MB / 3.105 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/5.686, allocations: 67.61 kB / 3.105 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.401e-05/5.686, allocations: 27.97 kB / 3.105 GB, free: 107.1 MB / 0.9323 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.0002393/5.687, allocations: 126.9 kB / 3.106 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/5.687, allocations: 75.16 kB / 3.106 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003838/5.691, allocations: 0.9838 MB / 3.107 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/5.691, allocations: 12 kB / 3.107 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/5.691, allocations: 0 / 3.107 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/5.691, allocations: 7.969 kB / 3.107 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004634/5.695, allocations: 1.756 MB / 3.108 GB, free: 104.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.046e-06/5.695, allocations: 0 / 3.108 GB, free: 104.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/5.697, allocations: 159.8 kB / 3.109 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009518/5.698, allocations: 88.77 kB / 3.109 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.155e-05/5.698, allocations: 15.98 kB / 3.109 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002514/5.7, allocations: 1.484 MB / 3.11 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/5.7, allocations: 7.922 kB / 3.11 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002811/5.703, allocations: 0.8556 MB / 3.111 GB, free: 101.3 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002918/5.706, allocations: 1.274 MB / 3.112 GB, free: 100 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008375/5.707, allocations: 287.8 kB / 3.112 GB, free: 99.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/5.707, allocations: 0 / 3.112 GB, free: 99.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/5.709, allocations: 67.94 kB / 3.113 GB, free: 99.63 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002942/5.709, allocations: 52.69 kB / 3.113 GB, free: 99.58 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/5.709, allocations: 31.98 kB / 3.113 GB, free: 99.55 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0011/5.71, allocations: 418.9 kB / 3.113 GB, free: 99.14 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004046/5.715, allocations: 398.9 kB / 3.113 GB, free: 98.75 MB / 0.9323 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.002957/5.718, allocations: 1.018 MB / 3.114 GB, free: 97.83 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002675/5.72, allocations: 0.6819 MB / 3.115 GB, free: 97.14 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/5.72, allocations: 0 / 3.115 GB, free: 97.14 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/5.722, allocations: 464.6 kB / 3.115 GB, free: 96.68 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/5.724, allocations: 223.1 kB / 3.116 GB, free: 96.46 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007863/5.732, allocations: 1.374 MB / 3.117 GB, free: 95.07 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001554/5.734, allocations: 1.143 MB / 3.118 GB, free: 93.89 MB / 0.9323 GB Notification: Performance of SimCode: time 1.272e-06/5.734, allocations: 0 / 3.118 GB, free: 93.89 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)