Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_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/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 192.7 kB / 7.804 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4733/0.4733, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 221.4 MB / 342.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 89.91 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1886/0.1897, allocations: 78.46 MB / 494 MB, free: 7.965 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.62, allocations: 72.3 MB / 0.553 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.435/4.055, allocations: 1.683 GB / 2.236 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/4.055, allocations: 93.81 kB / 2.236 GB, free: 154.1 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.1312/4.186, allocations: 60.85 MB / 2.296 GB, free: 93.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/4.186, allocations: 8 kB / 2.296 GB, free: 93.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009989/4.187, allocations: 194.6 kB / 2.296 GB, free: 92.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/4.188, allocations: 0.6114 MB / 2.297 GB, free: 92.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/4.188, allocations: 31.91 kB / 2.297 GB, free: 92.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.05e-05/4.189, allocations: 44 kB / 2.297 GB, free: 92.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001376/4.19, allocations: 0.9796 MB / 2.298 GB, free: 91.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/4.191, allocations: 0.7194 MB / 2.298 GB, free: 90.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/4.191, allocations: 0 / 2.298 GB, free: 90.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-05/4.191, allocations: 4 kB / 2.298 GB, free: 90.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/4.191, allocations: 24 kB / 2.298 GB, free: 90.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003371/4.194, allocations: 2.274 MB / 2.301 GB, free: 88.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009228/4.195, allocations: 0.7167 MB / 2.301 GB, free: 87.42 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/4.196, allocations: 238.8 kB / 2.302 GB, free: 87.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.491e-05/4.196, allocations: 32.67 kB / 2.302 GB, free: 87.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004522/4.196, allocations: 370.1 kB / 2.302 GB, free: 86.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=72): time 2.776e-06/4.196, allocations: 4 kB / 2.302 GB, free: 86.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72): time 0.001507/4.198, allocations: 0.6325 MB / 2.303 GB, free: 86.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/4.198, allocations: 244 kB / 2.303 GB, free: 85.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005744/4.198, allocations: 0.4945 MB / 2.303 GB, free: 85.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/4.199, allocations: 33.7 kB / 2.303 GB, free: 85.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/4.199, allocations: 288.2 kB / 2.304 GB, free: 85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/4.199, allocations: 232.5 kB / 2.304 GB, free: 84.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/4.199, allocations: 0 / 2.304 GB, free: 84.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001006/4.199, allocations: 376.7 kB / 2.304 GB, free: 84.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/4.199, allocations: 185.3 kB / 2.304 GB, free: 84.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/4.2, allocations: 286.4 kB / 2.305 GB, free: 83.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/4.2, allocations: 239 kB / 2.305 GB, free: 83.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/4.2, allocations: 0 / 2.305 GB, free: 83.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001406/4.201, allocations: 0.6482 MB / 2.305 GB, free: 83.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/4.201, allocations: 4 kB / 2.305 GB, free: 83.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/4.201, allocations: 0 / 2.305 GB, free: 83.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006546/4.202, allocations: 80.84 kB / 2.306 GB, free: 82.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005882/4.203, allocations: 147.8 kB / 2.306 GB, free: 82.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/4.205, allocations: 1.441 MB / 2.307 GB, free: 81.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006273/4.205, allocations: 63.61 kB / 2.307 GB, free: 81.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-05/4.205, allocations: 35.97 kB / 2.307 GB, free: 81.12 MB / 0.6042 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 (74): * Single equations (assignments): 73 * 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.0001922/4.205, allocations: 119.1 kB / 2.307 GB, free: 81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/4.206, allocations: 75.06 kB / 2.307 GB, free: 80.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/4.208, allocations: 0.9286 MB / 2.308 GB, free: 80.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/4.208, allocations: 8 kB / 2.308 GB, free: 80 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/4.208, allocations: 4 kB / 2.308 GB, free: 80 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/4.208, allocations: 3.984 kB / 2.308 GB, free: 79.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/4.21, allocations: 1.686 MB / 2.31 GB, free: 78.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/4.21, allocations: 2.344 kB / 2.31 GB, free: 78.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/4.211, allocations: 151.8 kB / 2.31 GB, free: 78.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005017/4.212, allocations: 80.78 kB / 2.31 GB, free: 78.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/4.212, allocations: 15.98 kB / 2.31 GB, free: 78.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/4.213, allocations: 1.48 MB / 2.312 GB, free: 76.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/4.213, allocations: 0 / 2.312 GB, free: 76.41 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001449/4.215, allocations: 0.8129 MB / 2.312 GB, free: 75.57 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001505/4.216, allocations: 1.231 MB / 2.314 GB, free: 74.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003541/4.216, allocations: 271.9 kB / 2.314 GB, free: 74.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/4.217, allocations: 7.938 kB / 2.314 GB, free: 74.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005904/4.217, allocations: 59.94 kB / 2.314 GB, free: 73.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-05/4.217, allocations: 52.7 kB / 2.314 GB, free: 73.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.093e-05/4.217, allocations: 27.98 kB / 2.314 GB, free: 73.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004298/4.218, allocations: 410.8 kB / 2.314 GB, free: 73.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001642/4.219, allocations: 407 kB / 2.315 GB, free: 73.09 MB / 0.6042 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 (86): * Single equations (assignments): 83 * 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.001611/4.221, allocations: 1.053 MB / 2.316 GB, free: 72.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001063/4.222, allocations: 0.6351 MB / 2.316 GB, free: 71.49 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/4.222, allocations: 4.125 kB / 2.316 GB, free: 71.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006103/4.223, allocations: 448.5 kB / 2.317 GB, free: 71.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009257/4.224, allocations: 204.1 kB / 2.317 GB, free: 70.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/4.227, allocations: 1.339 MB / 2.318 GB, free: 69.47 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006593/4.228, allocations: 1.119 MB / 2.319 GB, free: 68.33 MB / 0.6042 GB Notification: Performance of SimCode: time 9.22e-07/4.228, allocations: 0 / 2.319 GB, free: 68.33 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)