Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") [: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.7446/0.7446, allocations: 141.8 MB / 149.1 MB, free: 2.945 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.001151/0.001151, allocations: 178.1 kB / 182 MB, free: 14.82 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.376/1.376, allocations: 221.3 MB / 436 MB, free: 7.887 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.001027/0.001027, allocations: 99.98 kB / 0.507 GB, free: 24.36 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001818/0.001818, allocations: 280.8 kB / 0.5885 GB, free: 11.03 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.697e-06/8.737e-06, allocations: 0 / 0.6759 GB, free: 1.402 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4344, allocations: 82.76 MB / 0.7567 GB, free: 111.6 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1175/0.5519, allocations: 107.1 MB / 0.8613 GB, free: 4.391 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.5522, allocations: 72.48 kB / 0.8614 GB, free: 4.32 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.0004213/0.5527, allocations: 52.66 kB / 0.8614 GB, free: 4.273 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.5527, allocations: 0 / 0.8614 GB, free: 4.273 MB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002002/0.5529, allocations: 307.5 kB / 0.8617 GB, free: 3.93 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.553, allocations: 9.625 kB / 0.8617 GB, free: 3.922 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.553, allocations: 3.938 kB / 0.8617 GB, free: 3.918 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.356e-05/0.5531, allocations: 159.6 kB / 0.8619 GB, free: 3.723 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.5531, allocations: 3.984 kB / 0.8619 GB, free: 3.719 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.5532, allocations: 4.656 kB / 0.8619 GB, free: 3.715 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.148e-05/0.5532, allocations: 1.031 kB / 0.8619 GB, free: 3.715 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.041e-05/0.5533, allocations: 29.61 kB / 0.8619 GB, free: 3.68 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.5533, allocations: 1.469 kB / 0.8619 GB, free: 3.68 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.5533, allocations: 0 / 0.8619 GB, free: 3.68 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.5533, allocations: 0 / 0.8619 GB, free: 3.68 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001113/0.5535, allocations: 134.3 kB / 0.8621 GB, free: 3.516 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 4.192e-05/0.5535, allocations: 22.52 kB / 0.8621 GB, free: 3.484 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.492e-05/0.5535, allocations: 9.703 kB / 0.8621 GB, free: 3.473 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.5535, allocations: 0.75 kB / 0.8621 GB, free: 3.473 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.5536, allocations: 35.19 kB / 0.8621 GB, free: 3.43 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.5536, allocations: 0 / 0.8621 GB, free: 3.43 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1): time 0.0001136/0.5537, allocations: 34.11 kB / 0.8622 GB, free: 3.391 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.5537, allocations: 51.94 kB / 0.8622 GB, free: 3.328 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.708e-05/0.5538, allocations: 86.03 kB / 0.8623 GB, free: 3.238 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.5538, allocations: 25.7 kB / 0.8623 GB, free: 3.207 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.281e-05/0.5538, allocations: 80.7 kB / 0.8624 GB, free: 3.125 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.5538, allocations: 4.547 kB / 0.8624 GB, free: 3.125 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.5538, allocations: 0 / 0.8624 GB, free: 3.125 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 5.218e-05/0.5539, allocations: 322.8 kB / 0.8627 GB, free: 2.801 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.181e-06/0.5539, allocations: 0 / 0.8627 GB, free: 2.801 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.658e-06/0.5539, allocations: 0.5625 kB / 0.8627 GB, free: 2.801 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.528e-05/0.5539, allocations: 4.781 kB / 0.8627 GB, free: 2.797 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.5539, allocations: 0 / 0.8627 GB, free: 2.797 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.344e-05/0.554, allocations: 38.36 kB / 0.8627 GB, free: 2.754 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.554, allocations: 5.188 kB / 0.8627 GB, free: 2.75 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.554, allocations: 0 / 0.8627 GB, free: 2.75 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.554, allocations: 3.938 kB / 0.8627 GB, free: 2.746 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.472e-05/0.5541, allocations: 0 / 0.8627 GB, free: 2.746 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5541, allocations: 4.531 kB / 0.8628 GB, free: 2.742 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.198e-05/0.5541, allocations: 0.5938 kB / 0.8628 GB, free: 2.742 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.5541, allocations: 0.6875 kB / 0.8628 GB, free: 2.742 MB / 0.5263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.59e-05/0.5542, allocations: 105.5 kB / 0.8629 GB, free: 2.633 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-06/0.5542, allocations: 1.062 kB / 0.8629 GB, free: 2.633 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.974e-05/0.5542, allocations: 6.906 kB / 0.8629 GB, free: 2.625 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.5542, allocations: 0.5625 kB / 0.8629 GB, free: 2.625 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5542, allocations: 4.75 kB / 0.8629 GB, free: 2.621 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5542, allocations: 0 / 0.8629 GB, free: 2.621 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.572e-05/0.5543, allocations: 123 kB / 0.863 GB, free: 2.465 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.5543, allocations: 0 / 0.863 GB, free: 2.465 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.235e-06/0.5543, allocations: 0.875 kB / 0.863 GB, free: 2.465 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.5543, allocations: 0.75 kB / 0.863 GB, free: 2.465 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.5543, allocations: 4.594 kB / 0.863 GB, free: 2.461 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5543, allocations: 3.984 kB / 0.863 GB, free: 2.457 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5544, allocations: 9.031 kB / 0.863 GB, free: 2.449 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.208e-05/0.5544, allocations: 54.8 kB / 0.8631 GB, free: 2.379 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.5544, allocations: 77.11 kB / 0.8631 GB, free: 2.285 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.5544, allocations: 0 / 0.8631 GB, free: 2.285 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-06/0.5545, allocations: 5.312 kB / 0.8631 GB, free: 2.281 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-06/0.5545, allocations: 0.8438 kB / 0.8631 GB, free: 2.281 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.5545, allocations: 7.891 kB / 0.8631 GB, free: 2.273 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.459e-05/0.5545, allocations: 76.59 kB / 0.8632 GB, free: 2.199 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0002136/0.5547, allocations: 0 / 0.8632 GB, free: 2.199 MB / 0.5263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.867e-05/0.5548, allocations: 96.38 kB / 0.8633 GB, free: 2.094 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 5.645e-05/0.5549, allocations: 0 / 0.8633 GB, free: 2.094 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5549, allocations: 0.75 kB / 0.8633 GB, free: 2.094 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 5.49e-06/0.5549, allocations: 11.94 kB / 0.8633 GB, free: 2.082 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001034/0.555, allocations: 1.938 kB / 0.8633 GB, free: 2.082 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001416/0.5551, allocations: 44.36 kB / 0.8634 GB, free: 2.016 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.5553, allocations: 0.6841 MB / 0.864 GB, free: 1.305 MB / 0.5263 GB Notification: Performance of SimCode: time 2.31e-07/0.5553, allocations: 3.938 kB / 0.864 GB, free: 1.301 MB / 0.5263 GB Notification: Performance of Templates: time 0.001503/0.5568, allocations: 163.9 kB / 0.8642 GB, free: 1.152 MB / 0.5263 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)