Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.307/1.307, allocations: 285.5 MB / 292.8 MB, free: 0.6055 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009487/0.0009487, allocations: 185.1 kB / 361.1 MB, free: 15.16 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9964/0.9964, allocations: 205.1 MB / 0.6195 GB, free: 5.781 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007616/0.0007617, allocations: 97.23 kB / 0.7326 GB, free: 47.75 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 0.1673/0.1681, allocations: 121.4 MB / 0.8511 GB, free: 12.59 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.5851, allocations: 115.3 MB / 0.9637 GB, free: 85.48 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.65/3.235, allocations: 2.073 GB / 3.036 GB, free: 34.84 MB / 0.9402 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/3.235, allocations: 84.94 kB / 3.036 GB, free: 34.76 MB / 0.9402 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.4743/3.709, allocations: 94.58 MB / 3.129 GB, free: 306.2 MB / 0.9402 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/3.71, allocations: 8.625 kB / 3.129 GB, free: 306.2 MB / 0.9402 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008425/3.71, allocations: 250.9 kB / 3.129 GB, free: 306.1 MB / 0.9402 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000922/3.711, allocations: 0.7762 MB / 3.13 GB, free: 305.5 MB / 0.9402 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/3.711, allocations: 47.12 kB / 3.13 GB, free: 305.5 MB / 0.9402 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/3.711, allocations: 82.09 kB / 3.13 GB, free: 305.5 MB / 0.9402 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001905/3.713, allocations: 1.345 MB / 3.131 GB, free: 304.9 MB / 0.9402 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/3.715, allocations: 1.144 MB / 3.132 GB, free: 304.3 MB / 0.9402 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/3.715, allocations: 0 / 3.132 GB, free: 304.3 MB / 0.9402 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.885e-05/3.715, allocations: 5.031 kB / 3.132 GB, free: 304.3 MB / 0.9402 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/3.715, allocations: 38.58 kB / 3.132 GB, free: 304.2 MB / 0.9402 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004533/3.72, allocations: 3.747 MB / 3.136 GB, free: 301.4 MB / 0.9402 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/3.721, allocations: 0.8551 MB / 3.137 GB, free: 301 MB / 0.9402 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004129/3.721, allocations: 352.4 kB / 3.137 GB, free: 300.8 MB / 0.9402 GB Notification: Performance of preOpt evalFunc (simulation): time 8.228e-05/3.721, allocations: 49.94 kB / 3.137 GB, free: 300.8 MB / 0.9402 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005962/3.722, allocations: 0.5214 MB / 3.138 GB, free: 300.5 MB / 0.9402 GB Notification: Performance of pre-optimization done (n=104): time 2.124e-06/3.722, allocations: 0 / 3.138 GB, free: 300.5 MB / 0.9402 GB Notification: Performance of matching and sorting (n=104): time 0.00172/3.724, allocations: 0.89 MB / 3.139 GB, free: 300 MB / 0.9402 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/3.724, allocations: 244.5 kB / 3.139 GB, free: 299.7 MB / 0.9402 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005986/3.724, allocations: 0.6187 MB / 3.139 GB, free: 299.4 MB / 0.9402 GB Notification: Performance of collectPreVariables (initialization): time 6.1e-05/3.724, allocations: 25.7 kB / 3.14 GB, free: 299.4 MB / 0.9402 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/3.725, allocations: 468.1 kB / 3.14 GB, free: 299 MB / 0.9402 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/3.725, allocations: 333.9 kB / 3.14 GB, free: 298.7 MB / 0.9402 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/3.725, allocations: 0 / 3.14 GB, free: 298.7 MB / 0.9402 GB Notification: Performance of setup shared object (initialization): time 8.841e-05/3.725, allocations: 398.4 kB / 3.141 GB, free: 298.3 MB / 0.9402 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/3.725, allocations: 296.8 kB / 3.141 GB, free: 298.2 MB / 0.9402 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/3.726, allocations: 423.1 kB / 3.141 GB, free: 297.9 MB / 0.9402 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/3.726, allocations: 370.5 kB / 3.142 GB, free: 297.7 MB / 0.9402 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/3.726, allocations: 0 / 3.142 GB, free: 297.7 MB / 0.9402 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001722/3.728, allocations: 0.9569 MB / 3.143 GB, free: 297.3 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/3.728, allocations: 4.031 kB / 3.143 GB, free: 297.3 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/3.728, allocations: 1.156 kB / 3.143 GB, free: 297.3 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005953/3.729, allocations: 88.09 kB / 3.143 GB, free: 297.2 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009172/3.73, allocations: 220 kB / 3.143 GB, free: 297.2 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/3.731, allocations: 1.46 MB / 3.144 GB, free: 295.8 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006708/3.732, allocations: 85.33 kB / 3.144 GB, free: 295.7 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.491e-05/3.732, allocations: 44.42 kB / 3.144 GB, free: 295.7 MB / 0.9402 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.0001579/3.732, allocations: 125.7 kB / 3.145 GB, free: 295.6 MB / 0.9402 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/3.732, allocations: 99.81 kB / 3.145 GB, free: 295.5 MB / 0.9402 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/3.735, allocations: 1.309 MB / 3.146 GB, free: 294.8 MB / 0.9402 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/3.735, allocations: 17.66 kB / 3.146 GB, free: 294.8 MB / 0.9402 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/3.735, allocations: 2.906 kB / 3.146 GB, free: 294.8 MB / 0.9402 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/3.735, allocations: 3.984 kB / 3.146 GB, free: 294.8 MB / 0.9402 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/3.738, allocations: 2.34 MB / 3.148 GB, free: 293.3 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/3.738, allocations: 7.906 kB / 3.148 GB, free: 293.3 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007699/3.739, allocations: 198.2 kB / 3.148 GB, free: 293.3 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004733/3.739, allocations: 84.38 kB / 3.149 GB, free: 293.2 MB / 0.9402 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-05/3.739, allocations: 15.83 kB / 3.149 GB, free: 293.2 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/3.741, allocations: 1.492 MB / 3.15 GB, free: 291.8 MB / 0.9402 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/3.741, allocations: 0 / 3.15 GB, free: 291.8 MB / 0.9402 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001585/3.742, allocations: 1.051 MB / 3.151 GB, free: 291.2 MB / 0.9402 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001683/3.744, allocations: 1.471 MB / 3.152 GB, free: 290.3 MB / 0.9402 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003715/3.744, allocations: 356.3 kB / 3.153 GB, free: 290 MB / 0.9402 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/3.745, allocations: 5.031 kB / 3.153 GB, free: 290 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006722/3.745, allocations: 56.94 kB / 3.153 GB, free: 289.9 MB / 0.9402 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/3.745, allocations: 69.48 kB / 3.153 GB, free: 289.9 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/3.746, allocations: 43.2 kB / 3.153 GB, free: 289.9 MB / 0.9402 GB Notification: Performance of sort global known variables: time 0.0004777/3.746, allocations: 0.5134 MB / 3.154 GB, free: 289.6 MB / 0.9402 GB Notification: Performance of remove unused functions: time 0.001579/3.748, allocations: 480.4 kB / 3.154 GB, free: 289.4 MB / 0.9402 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.001205/3.749, allocations: 1.016 MB / 3.155 GB, free: 289 MB / 0.9402 GB Notification: Performance of simCode: created initialization part: time 0.001257/3.75, allocations: 0.9062 MB / 3.156 GB, free: 288.5 MB / 0.9402 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/3.75, allocations: 3.031 kB / 3.156 GB, free: 288.5 MB / 0.9402 GB Notification: Performance of simCode: created simulation system equations: time 0.0006984/3.751, allocations: 0.5585 MB / 3.156 GB, free: 288.3 MB / 0.9402 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008998/3.752, allocations: 223.5 kB / 3.157 GB, free: 288.2 MB / 0.9402 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/3.755, allocations: 1.828 MB / 3.158 GB, free: 287.3 MB / 0.9402 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008255/3.756, allocations: 1.324 MB / 3.16 GB, free: 286.3 MB / 0.9402 GB Notification: Performance of SimCode: time 3.91e-07/3.756, allocations: 0 / 3.16 GB, free: 286.3 MB / 0.9402 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)