Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.225/1.225, allocations: 249.4 MB / 256.7 MB, free: 0.7773 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009765/0.0009766, allocations: 184.2 kB / 316 MB, free: 8.969 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.038/1.038, allocations: 205.1 MB / 0.5667 GB, free: 13.43 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007806/0.0007806, allocations: 83.73 kB / 0.671 GB, free: 51.7 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.422e-06, allocations: 4 kB / 0.7807 GB, free: 9.953 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4082, allocations: 106.3 MB / 0.8845 GB, free: 89.13 MB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.544, allocations: 134.1 MB / 1.015 GB, free: 11.59 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/0.5442, allocations: 75.95 kB / 1.016 GB, free: 11.52 MB / 0.659 GB Notification: Performance of FrontEnd: time 0.01594/0.5602, allocations: 5.814 MB / 1.021 GB, free: 5.797 MB / 0.659 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.5602, allocations: 4.625 kB / 1.021 GB, free: 5.793 MB / 0.659 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.0005228/0.5608, allocations: 0.5026 MB / 1.022 GB, free: 5.242 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.5608, allocations: 12.03 kB / 1.022 GB, free: 5.23 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.364e-05/0.5609, allocations: 16.41 kB / 1.022 GB, free: 5.215 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.5613, allocations: 261 kB / 1.022 GB, free: 4.922 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.5613, allocations: 0 / 1.022 GB, free: 4.922 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.5614, allocations: 19.89 kB / 1.022 GB, free: 4.902 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000115/0.5615, allocations: 44.31 kB / 1.022 GB, free: 4.859 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.5617, allocations: 84.61 kB / 1.022 GB, free: 4.773 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.5617, allocations: 5.312 kB / 1.022 GB, free: 4.77 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.5617, allocations: 1.75 kB / 1.022 GB, free: 4.77 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.5617, allocations: 0 / 1.022 GB, free: 4.77 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/0.5623, allocations: 429.7 kB / 1.023 GB, free: 4.316 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.5624, allocations: 62.58 kB / 1.023 GB, free: 4.246 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.5625, allocations: 32.84 kB / 1.023 GB, free: 4.211 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.5625, allocations: 0 / 1.023 GB, free: 4.211 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.5626, allocations: 92.67 kB / 1.023 GB, free: 4.109 MB / 0.659 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.5626, allocations: 0 / 1.023 GB, free: 4.109 MB / 0.659 GB Notification: Performance of matching and sorting (n=14): time 0.0001969/0.5628, allocations: 108.9 kB / 1.023 GB, free: 4 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.5628, allocations: 55.41 kB / 1.023 GB, free: 3.934 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.563, allocations: 165.4 kB / 1.023 GB, free: 3.766 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.5631, allocations: 28.52 kB / 1.023 GB, free: 3.734 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.5631, allocations: 108.4 kB / 1.023 GB, free: 3.625 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.5632, allocations: 35.61 kB / 1.023 GB, free: 3.59 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/0.5632, allocations: 0 / 1.023 GB, free: 3.59 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.5633, allocations: 322.8 kB / 1.024 GB, free: 3.266 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.692e-05/0.5633, allocations: 31.98 kB / 1.024 GB, free: 3.234 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.5634, allocations: 113.5 kB / 1.024 GB, free: 3.094 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.974e-05/0.5635, allocations: 42.3 kB / 1.024 GB, free: 3.055 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.5635, allocations: 0 / 1.024 GB, free: 3.055 MB / 0.659 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002029/0.5637, allocations: 135.3 kB / 1.024 GB, free: 2.918 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.5637, allocations: 4 kB / 1.024 GB, free: 2.914 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5638, allocations: 7.984 kB / 1.024 GB, free: 2.906 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.5638, allocations: 224 / 1.024 GB, free: 2.906 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.956e-05/0.5639, allocations: 12 kB / 1.024 GB, free: 2.895 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.5639, allocations: 12.09 kB / 1.024 GB, free: 2.883 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.5641, allocations: 23.83 kB / 1.024 GB, free: 2.859 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.5641, allocations: 8 kB / 1.024 GB, free: 2.852 MB / 0.659 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 7.415e-05/0.5642, allocations: 112.9 kB / 1.024 GB, free: 2.734 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.5642, allocations: 15.81 kB / 1.024 GB, free: 2.719 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.5644, allocations: 111 kB / 1.024 GB, free: 2.605 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.5644, allocations: 4 kB / 1.024 GB, free: 2.602 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5644, allocations: 0 / 1.024 GB, free: 2.602 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5644, allocations: 0 / 1.024 GB, free: 2.602 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.5648, allocations: 418.8 kB / 1.025 GB, free: 2.148 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5649, allocations: 2.438 kB / 1.025 GB, free: 2.148 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.719e-05/0.5649, allocations: 7.938 kB / 1.025 GB, free: 2.141 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5649, allocations: 0 / 1.025 GB, free: 2.141 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.5649, allocations: 4 kB / 1.025 GB, free: 2.137 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5649, allocations: 0 / 1.025 GB, free: 2.137 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5649, allocations: 5.016 kB / 1.025 GB, free: 2.133 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001551/0.5651, allocations: 198.5 kB / 1.025 GB, free: 1.926 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.5651, allocations: 100.9 kB / 1.025 GB, free: 1.809 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.5652, allocations: 4 kB / 1.025 GB, free: 1.805 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.5653, allocations: 11.98 kB / 1.025 GB, free: 1.793 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.5653, allocations: 15.97 kB / 1.025 GB, free: 1.777 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.5654, allocations: 8 kB / 1.025 GB, free: 1.77 MB / 0.659 GB Notification: Performance of sort global known variables: time 8.131e-05/0.5655, allocations: 132 kB / 1.025 GB, free: 1.645 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.0002711/0.5657, allocations: 43.91 kB / 1.025 GB, free: 1.602 MB / 0.659 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.0002672/0.566, allocations: 166.7 kB / 1.025 GB, free: 1.461 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 0.000177/0.5662, allocations: 83.92 kB / 1.025 GB, free: 1.379 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.5662, allocations: 0 / 1.025 GB, free: 1.379 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 6.54e-05/0.5663, allocations: 40.81 kB / 1.025 GB, free: 1.34 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.5665, allocations: 36.78 kB / 1.025 GB, free: 1.309 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004446/0.567, allocations: 201.5 kB / 1.026 GB, free: 1.09 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.5673, allocations: 0.7393 MB / 1.026 GB, free: 332 kB / 0.659 GB Notification: Performance of SimCode: time 2.41e-07/0.5673, allocations: 0 / 1.026 GB, free: 332 kB / 0.659 GB Notification: Performance of Templates: time 0.005419/0.5727, allocations: 2.958 MB / 1.029 GB, free: 13.47 MB / 0.6746 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)