Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.261/1.261, allocations: 249.4 MB / 256.7 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001002, allocations: 189.2 kB / 316 MB, free: 3.504 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.129/1.129, allocations: 205.2 MB / 0.5667 GB, free: 15.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008148/0.0008148, allocations: 82.59 kB / 0.671 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3401/0.3409, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.5151, allocations: 106.3 MB / 0.8846 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.174/4.69, allocations: 2.193 GB / 3.077 GB, free: 211.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/4.69, allocations: 83.95 kB / 3.077 GB, free: 211.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.1706/4.861, allocations: 83.85 MB / 3.159 GB, free: 127 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/4.861, allocations: 8 kB / 3.159 GB, free: 127 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008879/4.862, allocations: 238 kB / 3.16 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009767/4.862, allocations: 0.7522 MB / 3.16 GB, free: 126 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.012e-05/4.863, allocations: 80.09 kB / 3.16 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/4.863, allocations: 68 kB / 3.16 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001587/4.864, allocations: 1.242 MB / 3.162 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/4.866, allocations: 1.033 MB / 3.163 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/4.866, allocations: 4 kB / 3.163 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-05/4.866, allocations: 0 / 3.163 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/4.866, allocations: 36 kB / 3.163 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004178/4.87, allocations: 3.368 MB / 3.166 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009731/4.871, allocations: 0.81 MB / 3.167 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000386/4.871, allocations: 327.1 kB / 3.167 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.482e-05/4.871, allocations: 36.72 kB / 3.167 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005737/4.872, allocations: 491.8 kB / 3.168 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=93): time 2.073e-06/4.872, allocations: 0 / 3.168 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.001639/4.874, allocations: 0.8303 MB / 3.168 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/4.874, allocations: 252.1 kB / 3.169 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/4.874, allocations: 0.5975 MB / 3.169 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/4.874, allocations: 25.7 kB / 3.169 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/4.875, allocations: 415.8 kB / 3.17 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/4.875, allocations: 299.5 kB / 3.17 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/4.875, allocations: 0 / 3.17 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/4.875, allocations: 390.8 kB / 3.17 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/4.875, allocations: 269.9 kB / 3.171 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/4.876, allocations: 398.3 kB / 3.171 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004674/4.876, allocations: 338.8 kB / 3.171 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/4.876, allocations: 0 / 3.171 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001596/4.878, allocations: 0.8819 MB / 3.172 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/4.878, allocations: 11.91 kB / 3.172 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/4.878, allocations: 0 / 3.172 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/4.879, allocations: 80.84 kB / 3.172 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007861/4.879, allocations: 187.7 kB / 3.172 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/4.881, allocations: 1.469 MB / 3.174 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006571/4.882, allocations: 75.45 kB / 3.174 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/4.882, allocations: 43.88 kB / 3.174 GB, free: 111.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0001664/4.882, allocations: 116.8 kB / 3.174 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/4.882, allocations: 90.88 kB / 3.174 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/4.885, allocations: 1.205 MB / 3.175 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/4.885, allocations: 12 kB / 3.175 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/4.885, allocations: 4 kB / 3.175 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/4.885, allocations: 7.969 kB / 3.175 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/4.888, allocations: 2.222 MB / 3.178 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/4.888, allocations: 4 kB / 3.178 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000702/4.888, allocations: 183.8 kB / 3.178 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004932/4.889, allocations: 80.78 kB / 3.178 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/4.889, allocations: 19.98 kB / 3.178 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/4.89, allocations: 1.484 MB / 3.179 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/4.89, allocations: 7.891 kB / 3.179 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001531/4.892, allocations: 1.01 MB / 3.18 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001627/4.894, allocations: 1.412 MB / 3.182 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000405/4.894, allocations: 343.4 kB / 3.182 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/4.894, allocations: 3.984 kB / 3.182 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007025/4.895, allocations: 63.95 kB / 3.182 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/4.895, allocations: 60.89 kB / 3.182 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.849e-05/4.895, allocations: 43.97 kB / 3.182 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005373/4.896, allocations: 0.4913 MB / 3.183 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001704/4.897, allocations: 462.5 kB / 3.183 GB, free: 102 MB / 0.8698 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 (107): * Single equations (assignments): 104 * 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.001358/4.899, allocations: 1.014 MB / 3.184 GB, free: 101 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001334/4.9, allocations: 0.8423 MB / 3.185 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/4.9, allocations: 0 / 3.185 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006775/4.901, allocations: 0.5327 MB / 3.185 GB, free: 99.61 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009746/4.902, allocations: 212 kB / 3.186 GB, free: 99.41 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/4.906, allocations: 1.697 MB / 3.187 GB, free: 97.67 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007898/4.906, allocations: 1.273 MB / 3.188 GB, free: 96.38 MB / 0.8698 GB Notification: Performance of SimCode: time 5.01e-07/4.906, allocations: 0 / 3.188 GB, free: 96.38 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)