Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.295/1.295, allocations: 249.4 MB / 256.7 MB, free: 0.6875 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 180.3 kB / 316 MB, free: 8.875 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 0.5667 GB, free: 13.4 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009404/0.0009403, allocations: 91.42 kB / 0.671 GB, free: 51.51 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2355/0.2365, allocations: 112.5 MB / 0.7808 GB, free: 9.84 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6011/0.8376, allocations: 106.3 MB / 0.8846 GB, free: 89.43 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.649/4.486, allocations: 2.189 GB / 3.074 GB, free: 174.2 MB / 0.8777 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/4.486, allocations: 83.94 kB / 3.074 GB, free: 174.1 MB / 0.8777 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.1288/4.615, allocations: 63.61 MB / 3.136 GB, free: 110.7 MB / 0.8777 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/4.615, allocations: 12 kB / 3.136 GB, free: 110.7 MB / 0.8777 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008441/4.616, allocations: 190.6 kB / 3.136 GB, free: 110.5 MB / 0.8777 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007953/4.617, allocations: 0.6075 MB / 3.137 GB, free: 109.9 MB / 0.8777 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/4.617, allocations: 28 kB / 3.137 GB, free: 109.8 MB / 0.8777 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.022e-05/4.617, allocations: 40.94 kB / 3.137 GB, free: 109.8 MB / 0.8777 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001134/4.618, allocations: 0.9679 MB / 3.138 GB, free: 108.8 MB / 0.8777 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009029/4.619, allocations: 0.6999 MB / 3.138 GB, free: 108.1 MB / 0.8777 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/4.619, allocations: 2.875 kB / 3.138 GB, free: 108.1 MB / 0.8777 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/4.619, allocations: 4 kB / 3.138 GB, free: 108.1 MB / 0.8777 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/4.619, allocations: 16 kB / 3.138 GB, free: 108.1 MB / 0.8777 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/4.622, allocations: 2.263 MB / 3.141 GB, free: 105.7 MB / 0.8777 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008043/4.623, allocations: 0.6475 MB / 3.141 GB, free: 105.1 MB / 0.8777 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/4.623, allocations: 245.2 kB / 3.141 GB, free: 104.9 MB / 0.8777 GB Notification: Performance of preOpt evalFunc (simulation): time 7e-05/4.623, allocations: 28.69 kB / 3.141 GB, free: 104.8 MB / 0.8777 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000432/4.624, allocations: 378 kB / 3.142 GB, free: 104.4 MB / 0.8777 GB Notification: Performance of pre-optimization done (n=70): time 2.935e-06/4.624, allocations: 0 / 3.142 GB, free: 104.4 MB / 0.8777 GB Notification: Performance of matching and sorting (n=70): time 0.001407/4.625, allocations: 0.6366 MB / 3.142 GB, free: 103.8 MB / 0.8777 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/4.625, allocations: 244 kB / 3.143 GB, free: 103.5 MB / 0.8777 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005535/4.626, allocations: 0.4983 MB / 3.143 GB, free: 103 MB / 0.8777 GB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/4.626, allocations: 25.7 kB / 3.143 GB, free: 103 MB / 0.8777 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/4.626, allocations: 292.2 kB / 3.143 GB, free: 102.7 MB / 0.8777 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/4.626, allocations: 216.7 kB / 3.144 GB, free: 102.5 MB / 0.8777 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/4.626, allocations: 0 / 3.144 GB, free: 102.5 MB / 0.8777 GB Notification: Performance of setup shared object (initialization): time 7.955e-05/4.626, allocations: 378.8 kB / 3.144 GB, free: 102.1 MB / 0.8777 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/4.626, allocations: 193.2 kB / 3.144 GB, free: 101.9 MB / 0.8777 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/4.627, allocations: 290.4 kB / 3.144 GB, free: 101.6 MB / 0.8777 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/4.627, allocations: 235.1 kB / 3.145 GB, free: 101.3 MB / 0.8777 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/4.627, allocations: 0 / 3.145 GB, free: 101.3 MB / 0.8777 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001239/4.628, allocations: 0.6482 MB / 3.145 GB, free: 100.7 MB / 0.8777 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/4.628, allocations: 7.125 kB / 3.145 GB, free: 100.7 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/4.628, allocations: 4 kB / 3.145 GB, free: 100.7 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005834/4.629, allocations: 80.84 kB / 3.145 GB, free: 100.6 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/4.63, allocations: 135.8 kB / 3.146 GB, free: 100.5 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/4.631, allocations: 1.46 MB / 3.147 GB, free: 98.88 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/4.632, allocations: 59.55 kB / 3.147 GB, free: 98.82 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.708e-05/4.632, allocations: 39.95 kB / 3.147 GB, free: 98.79 MB / 0.8777 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.0001523/4.632, allocations: 120.8 kB / 3.147 GB, free: 98.66 MB / 0.8777 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/4.632, allocations: 71.16 kB / 3.147 GB, free: 98.59 MB / 0.8777 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/4.634, allocations: 0.9024 MB / 3.148 GB, free: 97.7 MB / 0.8777 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/4.634, allocations: 15.92 kB / 3.148 GB, free: 97.68 MB / 0.8777 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/4.634, allocations: 4 kB / 3.148 GB, free: 97.68 MB / 0.8777 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/4.634, allocations: 3.984 kB / 3.148 GB, free: 97.67 MB / 0.8777 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008607/4.635, allocations: 0.7521 MB / 3.149 GB, free: 96.88 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/4.635, allocations: 3.938 kB / 3.149 GB, free: 96.88 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005341/4.635, allocations: 135.9 kB / 3.149 GB, free: 96.75 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004887/4.636, allocations: 84.72 kB / 3.149 GB, free: 96.66 MB / 0.8777 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/4.636, allocations: 15.98 kB / 3.149 GB, free: 96.64 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/4.637, allocations: 1.49 MB / 3.151 GB, free: 95.03 MB / 0.8777 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/4.637, allocations: 0 / 3.151 GB, free: 95.03 MB / 0.8777 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001279/4.639, allocations: 0.7412 MB / 3.151 GB, free: 94.27 MB / 0.8777 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0013/4.64, allocations: 1.146 MB / 3.152 GB, free: 93.1 MB / 0.8777 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/4.64, allocations: 279.8 kB / 3.153 GB, free: 92.81 MB / 0.8777 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/4.64, allocations: 5.062 kB / 3.153 GB, free: 92.8 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/4.641, allocations: 51.95 kB / 3.153 GB, free: 92.75 MB / 0.8777 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-05/4.641, allocations: 48.7 kB / 3.153 GB, free: 92.71 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.026e-05/4.641, allocations: 31.98 kB / 3.153 GB, free: 92.68 MB / 0.8777 GB Notification: Performance of sort global known variables: time 0.0003814/4.642, allocations: 410.9 kB / 3.153 GB, free: 92.28 MB / 0.8777 GB Notification: Performance of remove unused functions: time 0.001463/4.643, allocations: 367.1 kB / 3.154 GB, free: 91.92 MB / 0.8777 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.001191/4.644, allocations: 1.007 MB / 3.154 GB, free: 91.02 MB / 0.8777 GB Notification: Performance of simCode: created initialization part: time 0.0009445/4.645, allocations: 0.6389 MB / 3.155 GB, free: 90.38 MB / 0.8777 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/4.645, allocations: 128 / 3.155 GB, free: 90.38 MB / 0.8777 GB Notification: Performance of simCode: created simulation system equations: time 0.0005599/4.646, allocations: 436.7 kB / 3.156 GB, free: 89.94 MB / 0.8777 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008393/4.647, allocations: 220.6 kB / 3.156 GB, free: 89.74 MB / 0.8777 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/4.65, allocations: 1.319 MB / 3.157 GB, free: 88.39 MB / 0.8777 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005839/4.65, allocations: 1.109 MB / 3.158 GB, free: 87.25 MB / 0.8777 GB Notification: Performance of SimCode: time 5.61e-07/4.65, allocations: 2.344 kB / 3.158 GB, free: 87.25 MB / 0.8777 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)