Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.227/2.227, allocations: 284.8 MB / 292.1 MB, free: 10.96 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.001779/0.001778, allocations: 181.2 kB / 360.3 MB, free: 7.75 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.677/1.677, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.001216/0.001216, allocations: 91.59 kB / 0.7317 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2449/0.2462, allocations: 121.4 MB / 0.8502 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5517/0.7979, allocations: 115.2 MB / 0.9627 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.675/5.473, allocations: 2.072 GB / 3.035 GB, free: 272.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/5.473, allocations: 87.22 kB / 3.035 GB, free: 272.7 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.3634/5.837, allocations: 94.58 MB / 3.128 GB, free: 231.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/5.837, allocations: 12 kB / 3.128 GB, free: 231.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/5.838, allocations: 253.8 kB / 3.128 GB, free: 231.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/5.84, allocations: 0.7796 MB / 3.129 GB, free: 230.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.266e-05/5.84, allocations: 44 kB / 3.129 GB, free: 230.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/5.84, allocations: 76 kB / 3.129 GB, free: 230.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0034/5.844, allocations: 1.338 MB / 3.13 GB, free: 229.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002899/5.847, allocations: 1.149 MB / 3.131 GB, free: 228.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.179e-05/5.847, allocations: 0 / 3.131 GB, free: 228.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/5.847, allocations: 4 kB / 3.131 GB, free: 228.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/5.847, allocations: 32 kB / 3.131 GB, free: 228.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00921/5.856, allocations: 3.761 MB / 3.135 GB, free: 225.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/5.858, allocations: 0.8586 MB / 3.136 GB, free: 225.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008248/5.859, allocations: 351.8 kB / 3.136 GB, free: 225 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/5.859, allocations: 48.67 kB / 3.136 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/5.86, allocations: 0.5144 MB / 3.137 GB, free: 224.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=104): time 4.318e-06/5.86, allocations: 3.984 kB / 3.137 GB, free: 224.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=104): time 0.003385/5.864, allocations: 0.8986 MB / 3.138 GB, free: 223.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/5.864, allocations: 248.1 kB / 3.138 GB, free: 223.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/5.865, allocations: 0.6063 MB / 3.138 GB, free: 223.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001457/5.865, allocations: 25.7 kB / 3.138 GB, free: 223.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000394/5.866, allocations: 476.6 kB / 3.139 GB, free: 222.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/5.866, allocations: 325.4 kB / 3.139 GB, free: 222.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.462e-05/5.866, allocations: 4 kB / 3.139 GB, free: 222.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001423/5.866, allocations: 395.7 kB / 3.14 GB, free: 222 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008342/5.867, allocations: 299.8 kB / 3.14 GB, free: 221.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009309/5.868, allocations: 427.8 kB / 3.14 GB, free: 221.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/5.869, allocations: 367.3 kB / 3.141 GB, free: 221.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/5.869, allocations: 0 / 3.141 GB, free: 221.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003542/5.873, allocations: 0.964 MB / 3.142 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/5.873, allocations: 7.984 kB / 3.142 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/5.873, allocations: 8 kB / 3.142 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/5.874, allocations: 80.28 kB / 3.142 GB, free: 220.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/5.876, allocations: 215.2 kB / 3.142 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/5.879, allocations: 1.46 MB / 3.143 GB, free: 218.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/5.88, allocations: 83.2 kB / 3.143 GB, free: 218.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/5.88, allocations: 47.66 kB / 3.143 GB, free: 218.7 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 (116): * Single equations (assignments): 115 * 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.0003105/5.881, allocations: 120.6 kB / 3.143 GB, free: 218.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/5.881, allocations: 94.88 kB / 3.144 GB, free: 218.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005453/5.887, allocations: 1.313 MB / 3.145 GB, free: 217.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/5.887, allocations: 12 kB / 3.145 GB, free: 217.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/5.887, allocations: 0 / 3.145 GB, free: 217.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/5.887, allocations: 7.969 kB / 3.145 GB, free: 217.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006192/5.893, allocations: 2.342 MB / 3.147 GB, free: 215.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/5.893, allocations: 4 kB / 3.147 GB, free: 215.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/5.895, allocations: 195.7 kB / 3.147 GB, free: 215 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009492/5.896, allocations: 84.78 kB / 3.147 GB, free: 214.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/5.896, allocations: 19.97 kB / 3.147 GB, free: 214.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/5.898, allocations: 1.488 MB / 3.149 GB, free: 213.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/5.898, allocations: 3.906 kB / 3.149 GB, free: 213.3 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00338/5.902, allocations: 1.053 MB / 3.15 GB, free: 212.2 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003252/5.905, allocations: 1.475 MB / 3.151 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007567/5.906, allocations: 347.4 kB / 3.152 GB, free: 210.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/5.906, allocations: 4 kB / 3.152 GB, free: 210.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/5.907, allocations: 65.08 kB / 3.152 GB, free: 210.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/5.908, allocations: 64.89 kB / 3.152 GB, free: 210.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/5.908, allocations: 43.97 kB / 3.152 GB, free: 210.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.000953/5.909, allocations: 0.5108 MB / 3.152 GB, free: 209.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002678/5.911, allocations: 478.4 kB / 3.153 GB, free: 209.2 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 (115): * Single equations (assignments): 112 * 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.002016/5.913, allocations: 1.008 MB / 3.154 GB, free: 208.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002554/5.916, allocations: 0.9125 MB / 3.155 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/5.916, allocations: 0 / 3.155 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/5.917, allocations: 0.56 MB / 3.155 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/5.919, allocations: 216.8 kB / 3.155 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007306/5.927, allocations: 1.838 MB / 3.157 GB, free: 204.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001447/5.928, allocations: 1.32 MB / 3.159 GB, free: 203.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.042e-06/5.928, allocations: 4 kB / 3.159 GB, free: 203.4 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)