Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.303/1.303, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009345/0.0009346, allocations: 185.3 kB / 361.1 MB, free: 7.09 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.004/1.004, allocations: 205.1 MB / 0.6195 GB, free: 11.95 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.0007826/0.0007826, allocations: 95.12 kB / 0.7326 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1709/0.1717, allocations: 121.4 MB / 0.8511 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.5811, allocations: 115.3 MB / 0.9637 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.66/3.242, allocations: 2.071 GB / 3.035 GB, free: 65.69 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/3.242, allocations: 84.75 kB / 3.035 GB, free: 65.61 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.1216/3.364, allocations: 64 MB / 3.097 GB, free: 1.59 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/3.364, allocations: 8.656 kB / 3.097 GB, free: 1.582 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008236/3.364, allocations: 190.6 kB / 3.097 GB, free: 1.395 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007637/3.365, allocations: 0.6115 MB / 3.098 GB, free: 0.7422 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/3.365, allocations: 27.91 kB / 3.098 GB, free: 0.7148 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.845e-05/3.365, allocations: 44 kB / 3.098 GB, free: 0.6719 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2077/3.573, allocations: 0.9639 MB / 3.099 GB, free: 400.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/3.574, allocations: 0.7091 MB / 3.1 GB, free: 400.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/3.574, allocations: 3.844 kB / 3.1 GB, free: 400.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/3.574, allocations: 1.969 kB / 3.1 GB, free: 400.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/3.574, allocations: 19.44 kB / 3.1 GB, free: 400.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002897/3.577, allocations: 2.249 MB / 3.102 GB, free: 399.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007636/3.578, allocations: 0.6441 MB / 3.103 GB, free: 399.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/3.578, allocations: 238.8 kB / 3.103 GB, free: 399.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.416e-05/3.578, allocations: 36.34 kB / 3.103 GB, free: 399.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003999/3.579, allocations: 375.8 kB / 3.103 GB, free: 399.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.335e-06/3.579, allocations: 2.438 kB / 3.103 GB, free: 399.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001286/3.58, allocations: 0.6343 MB / 3.104 GB, free: 399.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/3.58, allocations: 239.5 kB / 3.104 GB, free: 398.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/3.58, allocations: 0.4931 MB / 3.105 GB, free: 398.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/3.58, allocations: 32.17 kB / 3.105 GB, free: 398.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/3.581, allocations: 286.2 kB / 3.105 GB, free: 398.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/3.581, allocations: 220.3 kB / 3.105 GB, free: 398.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/3.581, allocations: 0 / 3.105 GB, free: 398.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.447e-05/3.581, allocations: 376.4 kB / 3.105 GB, free: 398.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/3.581, allocations: 191.4 kB / 3.106 GB, free: 398.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/3.581, allocations: 288.2 kB / 3.106 GB, free: 398.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/3.582, allocations: 243 kB / 3.106 GB, free: 398.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/3.582, allocations: 0 / 3.106 GB, free: 398.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001187/3.583, allocations: 0.6364 MB / 3.107 GB, free: 398.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/3.583, allocations: 10.78 kB / 3.107 GB, free: 398.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/3.583, allocations: 0 / 3.107 GB, free: 398.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/3.583, allocations: 87.06 kB / 3.107 GB, free: 398 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005129/3.584, allocations: 133 kB / 3.107 GB, free: 398 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/3.585, allocations: 1.472 MB / 3.108 GB, free: 396.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/3.586, allocations: 63.31 kB / 3.108 GB, free: 396.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/3.586, allocations: 22.95 kB / 3.108 GB, free: 396.8 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.0001176/3.586, allocations: 125.6 kB / 3.109 GB, free: 396.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.923e-05/3.586, allocations: 72.88 kB / 3.109 GB, free: 396.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/3.588, allocations: 0.922 MB / 3.11 GB, free: 396.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/3.588, allocations: 7.812 kB / 3.11 GB, free: 396.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/3.588, allocations: 0 / 3.11 GB, free: 396.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/3.588, allocations: 9.75 kB / 3.11 GB, free: 396.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006086/3.589, allocations: 0.7518 MB / 3.11 GB, free: 396.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/3.589, allocations: 0 / 3.11 GB, free: 396.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/3.589, allocations: 144.6 kB / 3.11 GB, free: 396.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000484/3.59, allocations: 81.42 kB / 3.11 GB, free: 396.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.214e-05/3.59, allocations: 14.7 kB / 3.111 GB, free: 396.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/3.591, allocations: 1.485 MB / 3.112 GB, free: 395.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/3.591, allocations: 3.688 kB / 3.112 GB, free: 395.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001183/3.592, allocations: 0.7387 MB / 3.113 GB, free: 395 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001291/3.594, allocations: 1.149 MB / 3.114 GB, free: 394.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/3.594, allocations: 276.4 kB / 3.114 GB, free: 394.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/3.594, allocations: 2.844 kB / 3.114 GB, free: 394.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/3.594, allocations: 52.42 kB / 3.114 GB, free: 394.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/3.595, allocations: 53.33 kB / 3.114 GB, free: 394.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.948e-05/3.595, allocations: 32.16 kB / 3.114 GB, free: 394.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003374/3.595, allocations: 406.9 kB / 3.115 GB, free: 394.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001312/3.596, allocations: 368.8 kB / 3.115 GB, free: 394.3 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.00114/3.597, allocations: 1.015 MB / 3.116 GB, free: 394.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008606/3.598, allocations: 0.6366 MB / 3.117 GB, free: 394.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/3.598, allocations: 0 / 3.117 GB, free: 394.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005282/3.599, allocations: 436.6 kB / 3.117 GB, free: 394 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007953/3.6, allocations: 218.2 kB / 3.117 GB, free: 394 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/3.602, allocations: 1.312 MB / 3.118 GB, free: 393.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005539/3.603, allocations: 1.113 MB / 3.12 GB, free: 392.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.4e-07/3.603, allocations: 2.688 kB / 3.12 GB, free: 392.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)