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: translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [: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.001162/0.001162, allocations: 184.9 kB / 7.8 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.449/0.449, allocations: 90.86 MB / 99.07 MB, free: 14.92 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.338/1.338, allocations: 221.4 MB / 342.7 MB, free: 5.492 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.0009937/0.0009935, allocations: 91.22 kB / 415.5 MB, free: 9.887 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 9.458e-06/9.467e-06, allocations: 0 / 493.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4633, allocations: 72.3 MB / 0.5529 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.437/3.9, allocations: 1.683 GB / 2.236 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/3.9, allocations: 88.7 kB / 2.236 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.1262/4.027, allocations: 59.72 MB / 2.295 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.525e-05/4.027, allocations: 24 kB / 2.295 GB, free: 54.7 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.002452/4.029, allocations: 1.097 MB / 2.296 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/4.029, allocations: 16.02 kB / 2.296 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/4.03, allocations: 194.6 kB / 2.296 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/4.032, allocations: 0.6114 MB / 2.297 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/4.032, allocations: 27.91 kB / 2.297 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/4.032, allocations: 51.98 kB / 2.297 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001394/4.033, allocations: 0.9757 MB / 2.298 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/4.034, allocations: 0.7232 MB / 2.298 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/4.034, allocations: 0 / 2.298 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.07e-05/4.034, allocations: 3.938 kB / 2.298 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/4.034, allocations: 20 kB / 2.298 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003407/4.038, allocations: 2.266 MB / 2.3 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009019/4.039, allocations: 0.7128 MB / 2.301 GB, free: 47.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/4.039, allocations: 238.8 kB / 2.301 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.437e-05/4.039, allocations: 40.67 kB / 2.301 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004301/4.04, allocations: 370 kB / 2.302 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=72): time 2.204e-06/4.04, allocations: 0 / 2.302 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72): time 0.001421/4.041, allocations: 0.6365 MB / 2.302 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/4.041, allocations: 240 kB / 2.303 GB, free: 46.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/4.042, allocations: 0.4945 MB / 2.303 GB, free: 45.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.216e-05/4.042, allocations: 33.64 kB / 2.303 GB, free: 45.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/4.042, allocations: 288.2 kB / 2.303 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/4.042, allocations: 228.5 kB / 2.304 GB, free: 45.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/4.042, allocations: 8 kB / 2.304 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.996e-05/4.042, allocations: 370.8 kB / 2.304 GB, free: 44.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/4.042, allocations: 189.3 kB / 2.304 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/4.043, allocations: 286.4 kB / 2.304 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/4.043, allocations: 235.1 kB / 2.305 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/4.043, allocations: 0 / 2.305 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001265/4.044, allocations: 0.6482 MB / 2.305 GB, free: 43.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/4.044, allocations: 5.875 kB / 2.305 GB, free: 43.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/4.044, allocations: 0 / 2.305 GB, free: 43.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005937/4.045, allocations: 80.84 kB / 2.305 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/4.045, allocations: 139.8 kB / 2.306 GB, free: 43.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/4.047, allocations: 1.457 MB / 2.307 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005161/4.048, allocations: 59.61 kB / 2.307 GB, free: 41.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/4.048, allocations: 35.97 kB / 2.307 GB, free: 41.48 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.0001322/4.048, allocations: 120.8 kB / 2.307 GB, free: 41.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.916e-05/4.048, allocations: 67.16 kB / 2.307 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/4.05, allocations: 0.9286 MB / 2.308 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/4.05, allocations: 11.91 kB / 2.308 GB, free: 40.33 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/4.05, allocations: 0 / 2.308 GB, free: 40.33 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/4.05, allocations: 3.984 kB / 2.308 GB, free: 40.33 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/4.052, allocations: 1.686 MB / 2.31 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/4.052, allocations: 0 / 2.31 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005519/4.053, allocations: 143.8 kB / 2.31 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004896/4.053, allocations: 84.78 kB / 2.31 GB, free: 38.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/4.053, allocations: 15.98 kB / 2.31 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/4.055, allocations: 1.488 MB / 2.311 GB, free: 36.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/4.055, allocations: 3.938 kB / 2.311 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001283/4.056, allocations: 0.809 MB / 2.312 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/4.056, allocations: 279.8 kB / 2.313 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/4.056, allocations: 7.922 kB / 2.313 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005649/4.057, allocations: 51.95 kB / 2.313 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/4.057, allocations: 56.59 kB / 2.313 GB, free: 35.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.574e-05/4.057, allocations: 35.98 kB / 2.313 GB, free: 35.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004147/4.058, allocations: 402.9 kB / 2.313 GB, free: 35.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009477/4.059, allocations: 331 kB / 2.313 GB, free: 34.75 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.001365/4.06, allocations: 1.049 MB / 2.314 GB, free: 33.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009694/4.061, allocations: 0.643 MB / 2.315 GB, free: 33.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/4.061, allocations: 0 / 2.315 GB, free: 33.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005764/4.062, allocations: 448.5 kB / 2.315 GB, free: 32.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009226/4.062, allocations: 204.5 kB / 2.316 GB, free: 32.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/4.066, allocations: 1.335 MB / 2.317 GB, free: 31.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006143/4.066, allocations: 1.123 MB / 2.318 GB, free: 29.94 MB / 0.6042 GB Notification: Performance of SimCode: time 6.11e-07/4.066, allocations: 0 / 2.318 GB, free: 29.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.02373/4.09, allocations: 16.62 MB / 2.334 GB, free: 13.41 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (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 & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)