Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 192.5 kB / 7.805 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4598/0.4598, allocations: 90.86 MB / 99.07 MB, free: 14.94 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.383/1.383, allocations: 221.4 MB / 342.8 MB, free: 5.191 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.001048/0.001048, allocations: 90.52 kB / 415.5 MB, free: 9.871 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1793/0.1804, allocations: 78.45 MB / 493.9 MB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.6049, allocations: 72.3 MB / 0.553 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.599/4.204, allocations: 1.683 GB / 2.236 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/4.204, allocations: 93.86 kB / 2.236 GB, free: 130.4 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.1376/4.342, allocations: 65.06 MB / 2.3 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/4.342, allocations: 9.406 kB / 2.3 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008861/4.343, allocations: 194.6 kB / 2.3 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008524/4.344, allocations: 0.6037 MB / 2.301 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/4.344, allocations: 28 kB / 2.301 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.325e-05/4.344, allocations: 44 kB / 2.301 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001243/4.345, allocations: 0.9835 MB / 2.302 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/4.346, allocations: 0.7077 MB / 2.302 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/4.346, allocations: 7.984 kB / 2.302 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.116e-05/4.346, allocations: 0 / 2.302 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/4.346, allocations: 27.89 kB / 2.302 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003095/4.349, allocations: 2.282 MB / 2.305 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009042/4.35, allocations: 0.7124 MB / 2.305 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/4.351, allocations: 238.9 kB / 2.305 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.022e-05/4.351, allocations: 35.22 kB / 2.306 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000445/4.351, allocations: 374 kB / 2.306 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=70): time 2.034e-06/4.351, allocations: 0 / 2.306 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.001443/4.353, allocations: 0.6326 MB / 2.307 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/4.353, allocations: 244 kB / 2.307 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005262/4.353, allocations: 498.3 kB / 2.307 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/4.353, allocations: 29.7 kB / 2.307 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/4.354, allocations: 296.2 kB / 2.308 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/4.354, allocations: 224.6 kB / 2.308 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/4.354, allocations: 3.938 kB / 2.308 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.109e-05/4.354, allocations: 378.7 kB / 2.308 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/4.354, allocations: 181.3 kB / 2.308 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/4.354, allocations: 294.4 kB / 2.309 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/4.355, allocations: 235.1 kB / 2.309 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/4.355, allocations: 0 / 2.309 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001276/4.356, allocations: 0.6327 MB / 2.309 GB, free: 55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/4.356, allocations: 4 kB / 2.309 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/4.356, allocations: 0 / 2.309 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006073/4.357, allocations: 84.84 kB / 2.309 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/4.357, allocations: 135.7 kB / 2.31 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/4.359, allocations: 1.469 MB / 2.311 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/4.359, allocations: 63.61 kB / 2.311 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/4.359, allocations: 23.98 kB / 2.311 GB, free: 53.09 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 (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.0001346/4.36, allocations: 118.9 kB / 2.311 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/4.36, allocations: 67.16 kB / 2.311 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/4.362, allocations: 0.8971 MB / 2.312 GB, free: 52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/4.362, allocations: 8 kB / 2.312 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/4.362, allocations: 1.031 kB / 2.312 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/4.362, allocations: 3.984 kB / 2.312 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/4.364, allocations: 1.687 MB / 2.314 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/4.364, allocations: 0 / 2.314 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005406/4.365, allocations: 143.8 kB / 2.314 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005047/4.365, allocations: 80.78 kB / 2.314 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/4.365, allocations: 15.98 kB / 2.314 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/4.367, allocations: 1.496 MB / 2.316 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/4.367, allocations: 0 / 2.316 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001318/4.368, allocations: 0.805 MB / 2.316 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001572/4.37, allocations: 1.215 MB / 2.318 GB, free: 46.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/4.37, allocations: 275.9 kB / 2.318 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/4.37, allocations: 0 / 2.318 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005971/4.371, allocations: 59.84 kB / 2.318 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/4.371, allocations: 60.64 kB / 2.318 GB, free: 45.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-05/4.371, allocations: 27.98 kB / 2.318 GB, free: 45.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004824/4.371, allocations: 398.9 kB / 2.318 GB, free: 45.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001695/4.373, allocations: 399.1 kB / 2.319 GB, free: 45.12 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 (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.001791/4.375, allocations: 1.045 MB / 2.32 GB, free: 44.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001083/4.376, allocations: 0.6314 MB / 2.32 GB, free: 43.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/4.376, allocations: 0 / 2.32 GB, free: 43.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005809/4.377, allocations: 444.5 kB / 2.321 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009565/4.378, allocations: 213.4 kB / 2.321 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/4.381, allocations: 1.311 MB / 2.322 GB, free: 41.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006885/4.382, allocations: 1.115 MB / 2.323 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of SimCode: time 9.12e-07/4.382, allocations: 0 / 2.323 GB, free: 40.35 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)