Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.429/1.429, allocations: 289.8 MB / 297 MB, free: 6.656 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.0009711/0.0009713, allocations: 177.3 kB / 366.3 MB, free: 1.961 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.169/1.169, allocations: 205.1 MB / 0.6256 GB, free: 7.441 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.0008486/0.0008485, allocations: 90.34 kB / 0.7395 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2296/0.2305, allocations: 122.4 MB / 0.8591 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.7646, allocations: 116.3 MB / 0.9726 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.061/3.825, allocations: 2.072 GB / 3.044 GB, free: 54.23 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/3.826, allocations: 84.66 kB / 3.045 GB, free: 54.14 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.4416/4.267, allocations: 63.98 MB / 3.107 GB, free: 313.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/4.267, allocations: 9.75 kB / 3.107 GB, free: 313.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008695/4.268, allocations: 194.8 kB / 3.107 GB, free: 313.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000947/4.269, allocations: 0.6071 MB / 3.108 GB, free: 312.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/4.269, allocations: 25.19 kB / 3.108 GB, free: 312.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/4.269, allocations: 49.62 kB / 3.108 GB, free: 312.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001301/4.271, allocations: 0.9605 MB / 3.109 GB, free: 312.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/4.272, allocations: 0.7049 MB / 3.11 GB, free: 312.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/4.272, allocations: 0 / 3.11 GB, free: 312.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/4.272, allocations: 3.906 kB / 3.11 GB, free: 312.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/4.272, allocations: 19.88 kB / 3.11 GB, free: 312.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002882/4.275, allocations: 2.255 MB / 3.112 GB, free: 312.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007999/4.276, allocations: 0.6407 MB / 3.112 GB, free: 312.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/4.276, allocations: 243.2 kB / 3.113 GB, free: 312.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.557e-05/4.276, allocations: 37.05 kB / 3.113 GB, free: 312.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004145/4.276, allocations: 381.1 kB / 3.113 GB, free: 312 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.004e-06/4.276, allocations: 4.359 kB / 3.113 GB, free: 312 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001356/4.278, allocations: 0.6412 MB / 3.114 GB, free: 311.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/4.278, allocations: 242.5 kB / 3.114 GB, free: 311.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/4.278, allocations: 498.8 kB / 3.114 GB, free: 311.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/4.278, allocations: 29.58 kB / 3.114 GB, free: 311.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/4.278, allocations: 293.7 kB / 3.115 GB, free: 311.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/4.279, allocations: 222 kB / 3.115 GB, free: 311.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/4.279, allocations: 0.75 kB / 3.115 GB, free: 311.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.579e-05/4.279, allocations: 370.2 kB / 3.115 GB, free: 310.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/4.279, allocations: 188.5 kB / 3.115 GB, free: 310.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/4.279, allocations: 294.2 kB / 3.116 GB, free: 310.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/4.28, allocations: 235.2 kB / 3.116 GB, free: 310.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/4.28, allocations: 0 / 3.116 GB, free: 310.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001246/4.281, allocations: 0.65 MB / 3.117 GB, free: 310.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/4.281, allocations: 6.062 kB / 3.117 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/4.281, allocations: 7.375 kB / 3.117 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005793/4.281, allocations: 77.5 kB / 3.117 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000537/4.282, allocations: 134.5 kB / 3.117 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/4.284, allocations: 1.461 MB / 3.118 GB, free: 309.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/4.284, allocations: 66.88 kB / 3.118 GB, free: 309.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.801e-05/4.284, allocations: 25.41 kB / 3.118 GB, free: 309.4 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.0001217/4.284, allocations: 114 kB / 3.118 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.303e-05/4.284, allocations: 80.17 kB / 3.118 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/4.286, allocations: 0.9124 MB / 3.119 GB, free: 309.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/4.286, allocations: 8.656 kB / 3.119 GB, free: 309.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/4.286, allocations: 0 / 3.119 GB, free: 309.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/4.286, allocations: 7.906 kB / 3.119 GB, free: 309.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008729/4.287, allocations: 0.747 MB / 3.12 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/4.287, allocations: 0.5312 kB / 3.12 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006534/4.288, allocations: 146.3 kB / 3.12 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005378/4.288, allocations: 82.72 kB / 3.12 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-05/4.288, allocations: 17.52 kB / 3.12 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/4.29, allocations: 1.483 MB / 3.122 GB, free: 307.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/4.29, allocations: 0.5 kB / 3.122 GB, free: 307.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001484/4.291, allocations: 0.7442 MB / 3.123 GB, free: 307.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001455/4.293, allocations: 1.146 MB / 3.124 GB, free: 307.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/4.293, allocations: 278.7 kB / 3.124 GB, free: 307 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/4.293, allocations: 3.781 kB / 3.124 GB, free: 307 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005232/4.294, allocations: 54.75 kB / 3.124 GB, free: 307 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/4.294, allocations: 51.52 kB / 3.124 GB, free: 307 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.113e-05/4.294, allocations: 36.12 kB / 3.124 GB, free: 307 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004869/4.295, allocations: 407 kB / 3.124 GB, free: 306.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00162/4.296, allocations: 374.4 kB / 3.125 GB, free: 306.8 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.00147/4.298, allocations: 1.003 MB / 3.126 GB, free: 306.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001048/4.299, allocations: 0.6432 MB / 3.126 GB, free: 306.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/4.299, allocations: 1.312 kB / 3.126 GB, free: 306.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006355/4.299, allocations: 437.3 kB / 3.127 GB, free: 306.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009027/4.3, allocations: 209.7 kB / 3.127 GB, free: 306.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/4.303, allocations: 1.313 MB / 3.128 GB, free: 306.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006149/4.304, allocations: 1.12 MB / 3.129 GB, free: 305.4 MB / 0.948 GB Notification: Performance of SimCode: time 3.11e-07/4.304, allocations: 0 / 3.129 GB, free: 305.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)