Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.982/1.982, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 181.2 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 221.3 MB / 0.7819 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009043/0.0009043, allocations: 103.8 kB / 0.9213 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.001e-06/6.031e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2251, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6499/0.8751, allocations: 151.8 MB / 1.353 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.8754, allocations: 73.91 kB / 1.353 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01817/0.8936, allocations: 5.848 MB / 1.359 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.756e-05/0.8936, allocations: 3.469 kB / 1.359 GB, free: 15.34 MB / 0.8073 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.0006417/0.8943, allocations: 0.5114 MB / 1.36 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.8943, allocations: 8.469 kB / 1.36 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.759e-05/0.8944, allocations: 23.53 kB / 1.36 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.8949, allocations: 254.9 kB / 1.36 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.8949, allocations: 2.875 kB / 1.36 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.895, allocations: 10.47 kB / 1.36 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001516/0.8952, allocations: 49.31 kB / 1.36 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.8953, allocations: 86.23 kB / 1.36 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.8953, allocations: 0.5938 kB / 1.36 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.8954, allocations: 1.562 kB / 1.36 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.8954, allocations: 2.609 kB / 1.36 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007479/0.8961, allocations: 428.2 kB / 1.361 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.8963, allocations: 70.38 kB / 1.361 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.809e-05/0.8964, allocations: 26.55 kB / 1.361 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.8964, allocations: 5.438 kB / 1.361 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.8966, allocations: 87.06 kB / 1.361 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.8966, allocations: 0 / 1.361 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0002783/0.8969, allocations: 100.4 kB / 1.361 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.8969, allocations: 62.55 kB / 1.361 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.8971, allocations: 168.7 kB / 1.361 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.8971, allocations: 33.14 kB / 1.361 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.8972, allocations: 111.5 kB / 1.361 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.8972, allocations: 26.12 kB / 1.361 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.8973, allocations: 0.75 kB / 1.361 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.804e-05/0.8973, allocations: 331.9 kB / 1.361 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.755e-05/0.8974, allocations: 25.89 kB / 1.362 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.8975, allocations: 119 kB / 1.362 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.424e-05/0.8976, allocations: 45.97 kB / 1.362 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8976, allocations: 0 / 1.362 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001902/0.8978, allocations: 129.5 kB / 1.362 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.8978, allocations: 8 kB / 1.362 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.8978, allocations: 0 / 1.362 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.8979, allocations: 4.516 kB / 1.362 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.926e-05/0.898, allocations: 14.53 kB / 1.362 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.898, allocations: 4 kB / 1.362 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.8982, allocations: 22.92 kB / 1.362 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.8982, allocations: 12.66 kB / 1.362 GB, free: 13.28 MB / 0.8073 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.088e-05/0.8983, allocations: 117.8 kB / 1.362 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.8983, allocations: 20.33 kB / 1.362 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.8985, allocations: 109.7 kB / 1.362 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.8985, allocations: 4 kB / 1.362 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8985, allocations: 0 / 1.362 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.8986, allocations: 1.312 kB / 1.362 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.899, allocations: 412.3 kB / 1.362 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.899, allocations: 0 / 1.362 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-05/0.8991, allocations: 17.31 kB / 1.363 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.8991, allocations: 3.906 kB / 1.363 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.8991, allocations: 4.656 kB / 1.363 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.8991, allocations: 4.516 kB / 1.363 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8991, allocations: 0 / 1.363 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000153/0.8993, allocations: 198.3 kB / 1.363 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.8993, allocations: 94.83 kB / 1.363 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.8994, allocations: 4.234 kB / 1.363 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.8995, allocations: 18.67 kB / 1.363 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.8996, allocations: 14.94 kB / 1.363 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.8996, allocations: 9.344 kB / 1.363 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.142e-05/0.8997, allocations: 129 kB / 1.363 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003023/0.9, allocations: 37.59 kB / 1.363 GB, free: 12.2 MB / 0.8073 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.0003647/0.9004, allocations: 177.5 kB / 1.363 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001764/0.9005, allocations: 79.12 kB / 1.363 GB, free: 12 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9006, allocations: 4.125 kB / 1.363 GB, free: 12 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.647e-05/0.9006, allocations: 41.83 kB / 1.363 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.9009, allocations: 35.73 kB / 1.363 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.9015, allocations: 194.3 kB / 1.364 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.9017, allocations: 0.7503 MB / 1.364 GB, free: 27.02 MB / 0.823 GB Notification: Performance of SimCode: time 2.6e-07/0.9017, allocations: 0 / 1.364 GB, free: 27.02 MB / 0.823 GB Notification: Performance of Templates: time 0.006423/0.9082, allocations: 2.939 MB / 1.367 GB, free: 24.5 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)