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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) [: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.275/1.275, allocations: 249.4 MB / 256.7 MB, free: 7.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009778/0.000978, allocations: 192.3 kB / 316 MB, free: 3.523 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.2 MB / 0.5667 GB, free: 15.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008108/0.0008108, allocations: 89.98 kB / 0.671 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3541/0.3549, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.5291, allocations: 106.3 MB / 0.8846 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4798/1.009, allocations: 135.2 MB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/1.009, allocations: 69.03 kB / 1.017 GB, free: 3.34 MB / 0.6355 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.01826/1.027, allocations: 6.325 MB / 1.023 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/1.028, allocations: 8 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/1.028, allocations: 20.56 kB / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/1.028, allocations: 258.8 kB / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/1.028, allocations: 4 kB / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/1.028, allocations: 11.91 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001437/1.028, allocations: 50.17 kB / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/1.029, allocations: 87.8 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/1.029, allocations: 0 / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/1.029, allocations: 4 kB / 1.023 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/1.029, allocations: 7.938 kB / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007127/1.029, allocations: 422.5 kB / 1.024 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/1.029, allocations: 70.88 kB / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.565e-05/1.03, allocations: 31.73 kB / 1.024 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/1.03, allocations: 0 / 1.024 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/1.03, allocations: 90.72 kB / 1.024 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/1.03, allocations: 0 / 1.024 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0002272/1.03, allocations: 99.88 kB / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/1.03, allocations: 55.41 kB / 1.024 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/1.03, allocations: 166.1 kB / 1.024 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/1.03, allocations: 33.7 kB / 1.024 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/1.03, allocations: 107.5 kB / 1.024 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/1.03, allocations: 31.22 kB / 1.024 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/1.03, allocations: 3.938 kB / 1.024 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.03, allocations: 325.8 kB / 1.025 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/1.031, allocations: 26.56 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/1.031, allocations: 122.2 kB / 1.025 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.969e-05/1.031, allocations: 28.8 kB / 1.025 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.031, allocations: 3.938 kB / 1.025 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002166/1.031, allocations: 137.4 kB / 1.025 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/1.031, allocations: 8 kB / 1.025 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.031, allocations: 0 / 1.025 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/1.031, allocations: 4 kB / 1.025 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/1.031, allocations: 19.92 kB / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/1.031, allocations: 0 / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/1.031, allocations: 27.98 kB / 1.025 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/1.031, allocations: 8.219 kB / 1.025 GB, free: 11.77 MB / 0.6511 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 0.0001024/1.032, allocations: 113.9 kB / 1.025 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/1.032, allocations: 19.75 kB / 1.025 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/1.032, allocations: 103.9 kB / 1.025 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/1.032, allocations: 4 kB / 1.025 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.032, allocations: 0 / 1.025 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/1.032, allocations: 3.984 kB / 1.025 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/1.032, allocations: 416.9 kB / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/1.032, allocations: 0 / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/1.032, allocations: 11.98 kB / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/1.032, allocations: 0 / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/1.032, allocations: 4 kB / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.032, allocations: 0 / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.032, allocations: 3.938 kB / 1.026 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001813/1.033, allocations: 202.3 kB / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002699/1.033, allocations: 0.5724 MB / 1.026 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/1.033, allocations: 100.4 kB / 1.027 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/1.033, allocations: 3.906 kB / 1.027 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/1.033, allocations: 11.98 kB / 1.027 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/1.033, allocations: 15.97 kB / 1.027 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/1.033, allocations: 11.38 kB / 1.027 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.059e-05/1.033, allocations: 126.4 kB / 1.027 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008437/1.034, allocations: 46.62 kB / 1.027 GB, free: 10.04 MB / 0.6511 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.0003382/1.035, allocations: 164.4 kB / 1.027 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001667/1.035, allocations: 77.98 kB / 1.027 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/1.035, allocations: 0 / 1.027 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.599e-05/1.035, allocations: 42.06 kB / 1.027 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/1.035, allocations: 42.61 kB / 1.027 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/1.036, allocations: 197.5 kB / 1.027 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/1.036, allocations: 0.7432 MB / 1.028 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/1.036, allocations: 4 kB / 1.028 GB, free: 8.797 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)