Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.6927/0.6927, allocations: 141.8 MB / 149.1 MB, free: 4.059 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001057, allocations: 183.9 kB / 181.9 MB, free: 15.79 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 221.3 MB / 436 MB, free: 8.918 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009996/0.0009997, allocations: 99.92 kB / 0.507 GB, free: 24.18 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.001779, allocations: 273 kB / 0.5884 GB, free: 11.95 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.348e-06/9.378e-06, allocations: 4 kB / 0.6759 GB, free: 2.32 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4389, allocations: 82.76 MB / 0.7567 GB, free: 112.5 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.918/4.357, allocations: 1.691 GB / 2.447 GB, free: 98.27 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/4.357, allocations: 104.8 kB / 2.448 GB, free: 98.17 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.1478/4.505, allocations: 68.87 MB / 2.515 GB, free: 29.16 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001156/4.505, allocations: 20 kB / 2.515 GB, free: 29.14 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002941/4.508, allocations: 1.145 MB / 2.516 GB, free: 27.94 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/4.508, allocations: 8.031 kB / 2.516 GB, free: 27.93 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/4.51, allocations: 234.3 kB / 2.516 GB, free: 27.7 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/4.511, allocations: 0.6231 MB / 2.517 GB, free: 27.04 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.273e-05/4.511, allocations: 28 kB / 2.517 GB, free: 27.01 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/4.511, allocations: 52 kB / 2.517 GB, free: 26.96 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001674/4.513, allocations: 1.03 MB / 2.518 GB, free: 25.93 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/4.514, allocations: 0.781 MB / 2.519 GB, free: 25.11 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/4.515, allocations: 0 / 2.519 GB, free: 25.11 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-05/4.515, allocations: 0 / 2.519 GB, free: 25.11 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/4.515, allocations: 24 kB / 2.519 GB, free: 25.08 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004177/4.519, allocations: 2.344 MB / 2.521 GB, free: 22.68 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/4.521, allocations: 0.7986 MB / 2.522 GB, free: 21.85 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/4.521, allocations: 250.8 kB / 2.522 GB, free: 21.61 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 8.578e-05/4.521, allocations: 24.62 kB / 2.522 GB, free: 21.58 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005021/4.522, allocations: 389.9 kB / 2.522 GB, free: 21.18 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=73): time 3.406e-06/4.522, allocations: 0 / 2.522 GB, free: 21.18 MB / 0.6982 GB Notification: Performance of matching and sorting (n=73): time 0.001598/4.523, allocations: 0.6327 MB / 2.523 GB, free: 20.54 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.592e-05/4.523, allocations: 248 kB / 2.523 GB, free: 20.24 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006444/4.524, allocations: 498.3 kB / 2.524 GB, free: 19.75 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.826e-05/4.524, allocations: 33.69 kB / 2.524 GB, free: 19.71 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/4.524, allocations: 327.9 kB / 2.524 GB, free: 19.38 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/4.524, allocations: 232.5 kB / 2.524 GB, free: 19.15 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/4.524, allocations: 0 / 2.524 GB, free: 19.15 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/4.525, allocations: 370.8 kB / 2.525 GB, free: 18.78 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/4.525, allocations: 193.3 kB / 2.525 GB, free: 18.59 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/4.525, allocations: 298.4 kB / 2.525 GB, free: 18.27 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/4.526, allocations: 231.1 kB / 2.525 GB, free: 18.05 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/4.526, allocations: 0 / 2.525 GB, free: 18.05 MB / 0.6982 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001409/4.527, allocations: 0.6443 MB / 2.526 GB, free: 17.39 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/4.527, allocations: 11.12 kB / 2.526 GB, free: 17.38 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/4.527, allocations: 4.062 kB / 2.526 GB, free: 17.38 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006294/4.528, allocations: 84.77 kB / 2.526 GB, free: 17.29 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/4.528, allocations: 139.8 kB / 2.526 GB, free: 17.16 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/4.53, allocations: 1.458 MB / 2.528 GB, free: 15.58 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006607/4.531, allocations: 67.61 kB / 2.528 GB, free: 15.51 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.142e-05/4.531, allocations: 27.97 kB / 2.528 GB, free: 15.48 MB / 0.6982 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 (75): * Single equations (assignments): 74 * 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.0001982/4.531, allocations: 120.9 kB / 2.528 GB, free: 15.36 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/4.531, allocations: 71.16 kB / 2.528 GB, free: 15.29 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/4.534, allocations: 0.9108 MB / 2.529 GB, free: 14.39 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/4.534, allocations: 12 kB / 2.529 GB, free: 14.38 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/4.534, allocations: 3.906 kB / 2.529 GB, free: 14.37 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/4.534, allocations: 3.984 kB / 2.529 GB, free: 14.37 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003287/4.537, allocations: 1.717 MB / 2.53 GB, free: 12.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/4.537, allocations: 0 / 2.53 GB, free: 12.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006773/4.538, allocations: 147.8 kB / 2.531 GB, free: 12.46 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005597/4.538, allocations: 84.77 kB / 2.531 GB, free: 12.37 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.403e-05/4.538, allocations: 15.98 kB / 2.531 GB, free: 12.36 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/4.54, allocations: 1.482 MB / 2.532 GB, free: 10.75 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/4.54, allocations: 0 / 2.532 GB, free: 10.75 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001575/4.542, allocations: 0.8167 MB / 2.533 GB, free: 9.914 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000468/4.542, allocations: 275.8 kB / 2.533 GB, free: 9.625 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/4.542, allocations: 4 kB / 2.533 GB, free: 9.621 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006826/4.543, allocations: 55.94 kB / 2.533 GB, free: 9.566 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/4.543, allocations: 48.7 kB / 2.533 GB, free: 9.516 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.47e-05/4.543, allocations: 39.97 kB / 2.533 GB, free: 9.477 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0005099/4.544, allocations: 402.9 kB / 2.534 GB, free: 9.086 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001264/4.545, allocations: 346.9 kB / 2.534 GB, free: 8.746 MB / 0.6982 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 (85): * Single equations (assignments): 82 * 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.002054/4.547, allocations: 1.046 MB / 2.535 GB, free: 7.785 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001245/4.548, allocations: 0.6507 MB / 2.536 GB, free: 7.129 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/4.548, allocations: 0 / 2.536 GB, free: 7.129 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0006775/4.549, allocations: 448.6 kB / 2.536 GB, free: 6.684 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/4.55, allocations: 206.8 kB / 2.536 GB, free: 6.488 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/4.554, allocations: 1.382 MB / 2.538 GB, free: 5.07 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008348/4.555, allocations: 1.138 MB / 2.539 GB, free: 3.91 MB / 0.6982 GB Notification: Performance of SimCode: time 8.21e-07/4.555, allocations: 3.938 kB / 2.539 GB, free: 3.906 MB / 0.6982 GB Notification: Performance of Templates: time 0.3807/4.936, allocations: 16.87 MB / 2.555 GB, free: 275.5 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)