Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.548/1.548, allocations: 289.8 MB / 297.1 MB, free: 6.617 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 169.3 kB / 366.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.1 MB / 0.6256 GB, free: 5.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008514/0.0008514, allocations: 88.7 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.612e-06/6.873e-06, allocations: 0 / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5455/0.5455, allocations: 116.3 MB / 0.9726 GB, free: 68.34 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1768/0.7224, allocations: 141.4 MB / 1.111 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.7227, allocations: 76.83 kB / 1.111 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01722/0.74, allocations: 5.802 MB / 1.116 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.74, allocations: 8 kB / 1.116 GB, free: 1.191 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005944/0.7406, allocations: 0.5033 MB / 1.117 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.7406, allocations: 16.88 kB / 1.117 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.918e-05/0.7407, allocations: 19.72 kB / 1.117 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.7412, allocations: 254.7 kB / 1.117 GB, free: 316 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.7412, allocations: 0 / 1.117 GB, free: 316 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.7413, allocations: 12 kB / 1.117 GB, free: 304 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000125/0.7414, allocations: 48.36 kB / 1.117 GB, free: 256 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.7416, allocations: 83.73 kB / 1.117 GB, free: 168 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.7416, allocations: 0 / 1.117 GB, free: 168 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.7416, allocations: 0 / 1.117 GB, free: 168 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.7416, allocations: 0.5625 kB / 1.117 GB, free: 168 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006935/0.7423, allocations: 433.4 kB / 1.118 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.7425, allocations: 70.5 kB / 1.118 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.7425, allocations: 28.86 kB / 1.118 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.7426, allocations: 5.203 kB / 1.118 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.7427, allocations: 87.39 kB / 1.118 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.7427, allocations: 0 / 1.118 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0002206/0.7429, allocations: 101.5 kB / 1.118 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.743, allocations: 55.41 kB / 1.118 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.7431, allocations: 173.2 kB / 1.118 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.7432, allocations: 25.7 kB / 1.118 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.7432, allocations: 108.3 kB / 1.118 GB, free: 15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.7433, allocations: 35.81 kB / 1.118 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.7433, allocations: 0 / 1.118 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7434, allocations: 334.8 kB / 1.119 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.083e-05/0.7435, allocations: 27.94 kB / 1.119 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.7436, allocations: 113 kB / 1.119 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.674e-05/0.7437, allocations: 41.47 kB / 1.119 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7437, allocations: 0 / 1.119 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001978/0.7439, allocations: 130.6 kB / 1.119 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.7439, allocations: 4 kB / 1.119 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7439, allocations: 4 kB / 1.119 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.744, allocations: 160 / 1.119 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.7441, allocations: 27.92 kB / 1.119 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.7441, allocations: 0 / 1.119 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.7443, allocations: 19.84 kB / 1.119 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.7443, allocations: 11.98 kB / 1.119 GB, free: 14.23 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,sca1.active,$PRE.sca1.tActivateLast,sca1.tActivateLast,sca1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.234e-05/0.7444, allocations: 112.9 kB / 1.119 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.7444, allocations: 23.72 kB / 1.119 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.7446, allocations: 109.9 kB / 1.119 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.7446, allocations: 0 / 1.119 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.7446, allocations: 0 / 1.119 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.7446, allocations: 4.75 kB / 1.119 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.7451, allocations: 414.9 kB / 1.12 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.7451, allocations: 0 / 1.12 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.7452, allocations: 7.984 kB / 1.12 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.7452, allocations: 7.906 kB / 1.12 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.7452, allocations: 0 / 1.12 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7452, allocations: 0 / 1.12 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7452, allocations: 0 / 1.12 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001735/0.7454, allocations: 204.2 kB / 1.12 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.7454, allocations: 96.84 kB / 1.12 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.7455, allocations: 4 kB / 1.12 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.7456, allocations: 15.89 kB / 1.12 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.7456, allocations: 7.984 kB / 1.12 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.7457, allocations: 11.98 kB / 1.12 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.541e-05/0.7458, allocations: 124.5 kB / 1.12 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002842/0.7461, allocations: 47.94 kB / 1.12 GB, free: 12.97 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 0.0003156/0.7464, allocations: 170.4 kB / 1.12 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.7466, allocations: 87.92 kB / 1.12 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7466, allocations: 0 / 1.12 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.488e-05/0.7467, allocations: 36 kB / 1.12 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.747, allocations: 40.5 kB / 1.12 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.7475, allocations: 204.1 kB / 1.121 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.7479, allocations: 0.751 MB / 1.121 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/0.7479, allocations: 0 / 1.121 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of Templates: time 0.006043/0.7539, allocations: 2.942 MB / 1.124 GB, free: 8.777 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)