Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.277/2.277, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.002688/0.002687, allocations: 181.2 kB / 360.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.1 MB / 0.6187 GB, free: 13.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001233/0.001232, allocations: 86.14 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2503/0.2516, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5674/0.819, allocations: 115.2 MB / 0.9627 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.332/5.151, allocations: 2.071 GB / 3.034 GB, free: 47.62 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/5.151, allocations: 80.33 kB / 3.034 GB, free: 47.59 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.6332/5.784, allocations: 63.99 MB / 3.096 GB, free: 313.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/5.784, allocations: 6.531 kB / 3.096 GB, free: 313.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/5.787, allocations: 199.9 kB / 3.096 GB, free: 313.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/5.789, allocations: 0.6072 MB / 3.097 GB, free: 312.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/5.789, allocations: 27.31 kB / 3.097 GB, free: 312.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/5.789, allocations: 47.42 kB / 3.097 GB, free: 312.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003253/5.792, allocations: 0.9713 MB / 3.098 GB, free: 312.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/5.795, allocations: 0.7023 MB / 3.099 GB, free: 312.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.85e-05/5.795, allocations: 5.094 kB / 3.099 GB, free: 312.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/5.795, allocations: 0 / 3.099 GB, free: 312.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/5.795, allocations: 17.28 kB / 3.099 GB, free: 312.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006258/5.801, allocations: 2.242 MB / 3.101 GB, free: 312.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/5.803, allocations: 0.6497 MB / 3.101 GB, free: 312.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005656/5.804, allocations: 238.4 kB / 3.102 GB, free: 312.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/5.804, allocations: 31.75 kB / 3.102 GB, free: 312.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007868/5.805, allocations: 387.6 kB / 3.102 GB, free: 312 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.126e-06/5.805, allocations: 0 / 3.102 GB, free: 312 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.002739/5.807, allocations: 0.6325 MB / 3.103 GB, free: 311.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/5.807, allocations: 242.8 kB / 3.103 GB, free: 311.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/5.809, allocations: 0.4938 MB / 3.103 GB, free: 311.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001844/5.809, allocations: 28.45 kB / 3.103 GB, free: 311.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/5.809, allocations: 286.1 kB / 3.104 GB, free: 311.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/5.809, allocations: 226.4 kB / 3.104 GB, free: 311.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/5.809, allocations: 3.312 kB / 3.104 GB, free: 311.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001222/5.809, allocations: 373.3 kB / 3.104 GB, free: 310.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005268/5.81, allocations: 186.7 kB / 3.104 GB, free: 310.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006576/5.811, allocations: 300.9 kB / 3.105 GB, free: 310.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/5.811, allocations: 238.5 kB / 3.105 GB, free: 310.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/5.811, allocations: 3.906 kB / 3.105 GB, free: 310.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002544/5.814, allocations: 0.6377 MB / 3.106 GB, free: 310.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/5.814, allocations: 6.031 kB / 3.106 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/5.814, allocations: 0 / 3.106 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/5.815, allocations: 84.89 kB / 3.106 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/5.816, allocations: 137.4 kB / 3.106 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/5.819, allocations: 1.46 MB / 3.107 GB, free: 309.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/5.82, allocations: 68.42 kB / 3.107 GB, free: 309.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.623e-05/5.82, allocations: 24.62 kB / 3.107 GB, free: 309.4 MB / 0.948 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.0002522/5.821, allocations: 127.2 kB / 3.107 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/5.821, allocations: 66.03 kB / 3.107 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003622/5.824, allocations: 0.918 MB / 3.108 GB, free: 309.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/5.825, allocations: 12.97 kB / 3.108 GB, free: 309.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/5.825, allocations: 3.469 kB / 3.108 GB, free: 309.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/5.825, allocations: 3.328 kB / 3.108 GB, free: 309.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/5.826, allocations: 0.7419 MB / 3.109 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/5.826, allocations: 3.906 kB / 3.109 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/5.827, allocations: 144 kB / 3.109 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009454/5.828, allocations: 82.44 kB / 3.109 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.75e-05/5.828, allocations: 16.33 kB / 3.109 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/5.831, allocations: 1.491 MB / 3.111 GB, free: 307.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/5.831, allocations: 0 / 3.111 GB, free: 307.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002529/5.833, allocations: 0.7372 MB / 3.112 GB, free: 307.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002535/5.836, allocations: 1.146 MB / 3.113 GB, free: 307.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/5.836, allocations: 280.7 kB / 3.113 GB, free: 307 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/5.837, allocations: 1.5 kB / 3.113 GB, free: 307 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/5.838, allocations: 57.05 kB / 3.113 GB, free: 307 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/5.838, allocations: 53.72 kB / 3.113 GB, free: 307 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.958e-05/5.838, allocations: 40.09 kB / 3.113 GB, free: 307 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007267/5.839, allocations: 403.6 kB / 3.113 GB, free: 306.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002346/5.841, allocations: 367.4 kB / 3.114 GB, free: 306.9 MB / 0.948 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.conTimMin.tNext,weaDat.conTim.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.002128/5.843, allocations: 1.005 MB / 3.115 GB, free: 306.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001908/5.845, allocations: 0.6442 MB / 3.115 GB, free: 306.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/5.845, allocations: 2.078 kB / 3.115 GB, free: 306.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/5.846, allocations: 441.7 kB / 3.116 GB, free: 306.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/5.848, allocations: 207.4 kB / 3.116 GB, free: 306.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005733/5.854, allocations: 1.314 MB / 3.117 GB, free: 306.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/5.855, allocations: 1.111 MB / 3.118 GB, free: 305.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.523e-06/5.855, allocations: 0 / 3.118 GB, free: 305.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)