Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.554/2.554, allocations: 284.8 MB / 292.1 MB, free: 1.207 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002649/0.002649, allocations: 182.5 kB / 360.3 MB, free: 15.53 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.1 MB / 0.6187 GB, free: 6.387 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001621/0.001621, allocations: 87.81 kB / 0.7317 GB, free: 46.98 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.2591/0.2608, allocations: 121.4 MB / 0.8502 GB, free: 13.41 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6509/0.9118, allocations: 115.2 MB / 0.9627 GB, free: 86.24 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2284/1.14, allocations: 140.2 MB / 1.1 GB, free: 9.953 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/1.141, allocations: 76.52 kB / 1.1 GB, free: 9.879 MB / 0.7059 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.03034/1.171, allocations: 6.323 MB / 1.106 GB, free: 3.543 MB / 0.7059 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.171, allocations: 12 kB / 1.106 GB, free: 3.531 MB / 0.7059 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.779e-05/1.171, allocations: 19.72 kB / 1.106 GB, free: 3.512 MB / 0.7059 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000861/1.172, allocations: 262.7 kB / 1.106 GB, free: 3.215 MB / 0.7059 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/1.172, allocations: 0 / 1.106 GB, free: 3.215 MB / 0.7059 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.866e-05/1.172, allocations: 15.98 kB / 1.106 GB, free: 3.199 MB / 0.7059 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002019/1.172, allocations: 48.31 kB / 1.106 GB, free: 3.152 MB / 0.7059 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/1.173, allocations: 82.97 kB / 1.106 GB, free: 3.066 MB / 0.7059 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.173, allocations: 0 / 1.106 GB, free: 3.066 MB / 0.7059 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/1.173, allocations: 0 / 1.106 GB, free: 3.066 MB / 0.7059 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.173, allocations: 0 / 1.106 GB, free: 3.066 MB / 0.7059 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/1.174, allocations: 438.7 kB / 1.107 GB, free: 2.602 MB / 0.7059 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/1.174, allocations: 64.17 kB / 1.107 GB, free: 2.531 MB / 0.7059 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.23e-05/1.174, allocations: 32.84 kB / 1.107 GB, free: 2.496 MB / 0.7059 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/1.174, allocations: 224 / 1.107 GB, free: 2.496 MB / 0.7059 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/1.174, allocations: 83.33 kB / 1.107 GB, free: 2.402 MB / 0.7059 GB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/1.174, allocations: 0 / 1.107 GB, free: 2.402 MB / 0.7059 GB Notification: Performance of matching and sorting (n=14): time 0.000352/1.175, allocations: 101.4 kB / 1.107 GB, free: 2.297 MB / 0.7059 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/1.175, allocations: 63.41 kB / 1.107 GB, free: 2.223 MB / 0.7059 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/1.175, allocations: 161.1 kB / 1.107 GB, free: 2.062 MB / 0.7059 GB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/1.175, allocations: 25.7 kB / 1.107 GB, free: 2.031 MB / 0.7059 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/1.175, allocations: 116.3 kB / 1.107 GB, free: 1.914 MB / 0.7059 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/1.175, allocations: 27.62 kB / 1.107 GB, free: 1.887 MB / 0.7059 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/1.175, allocations: 0 / 1.107 GB, free: 1.887 MB / 0.7059 GB Notification: Performance of setup shared object (initialization): time 0.0001784/1.175, allocations: 326.8 kB / 1.108 GB, free: 1.559 MB / 0.7059 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.414e-05/1.175, allocations: 27.98 kB / 1.108 GB, free: 1.531 MB / 0.7059 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/1.176, allocations: 115.8 kB / 1.108 GB, free: 1.391 MB / 0.7059 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/1.176, allocations: 45.42 kB / 1.108 GB, free: 1.348 MB / 0.7059 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.176, allocations: 0 / 1.108 GB, free: 1.348 MB / 0.7059 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003441/1.176, allocations: 121.4 kB / 1.108 GB, free: 1.223 MB / 0.7059 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/1.176, allocations: 7.938 kB / 1.108 GB, free: 1.215 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/1.176, allocations: 7.984 kB / 1.108 GB, free: 1.207 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.176, allocations: 0 / 1.108 GB, free: 1.207 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/1.176, allocations: 16 kB / 1.108 GB, free: 1.191 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/1.176, allocations: 0 / 1.108 GB, free: 1.191 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/1.177, allocations: 27.98 kB / 1.108 GB, free: 1.164 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/1.177, allocations: 6.5 kB / 1.108 GB, free: 1.16 MB / 0.7059 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.0001324/1.177, allocations: 120 kB / 1.108 GB, free: 1.039 MB / 0.7059 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/1.177, allocations: 19.72 kB / 1.108 GB, free: 1.02 MB / 0.7059 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/1.177, allocations: 110.1 kB / 1.108 GB, free: 0.9062 MB / 0.7059 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.177, allocations: 3.938 kB / 1.108 GB, free: 0.9023 MB / 0.7059 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.177, allocations: 4 kB / 1.108 GB, free: 0.8984 MB / 0.7059 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/1.177, allocations: 4 kB / 1.108 GB, free: 0.8945 MB / 0.7059 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007828/1.178, allocations: 406.9 kB / 1.109 GB, free: 464 kB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/1.178, allocations: 4 kB / 1.109 GB, free: 460 kB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/1.178, allocations: 7.938 kB / 1.109 GB, free: 452 kB / 0.7059 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/1.178, allocations: 3.906 kB / 1.109 GB, free: 448 kB / 0.7059 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/1.178, allocations: 4.047 kB / 1.109 GB, free: 444 kB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/1.178, allocations: 3.938 kB / 1.109 GB, free: 440 kB / 0.7059 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.178, allocations: 3.984 kB / 1.109 GB, free: 436 kB / 0.7059 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002812/1.179, allocations: 199.3 kB / 1.109 GB, free: 220 kB / 0.7059 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005019/1.179, allocations: 0.5766 MB / 1.109 GB, free: 15.62 MB / 0.7215 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/1.179, allocations: 100.8 kB / 1.11 GB, free: 15.5 MB / 0.7215 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/1.179, allocations: 0 / 1.11 GB, free: 15.5 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/1.18, allocations: 11.98 kB / 1.11 GB, free: 15.49 MB / 0.7215 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.701e-05/1.18, allocations: 8.484 kB / 1.11 GB, free: 15.48 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/1.18, allocations: 19.98 kB / 1.11 GB, free: 15.46 MB / 0.7215 GB Notification: Performance of sort global known variables: time 0.000157/1.18, allocations: 128.3 kB / 1.11 GB, free: 15.34 MB / 0.7215 GB Notification: Performance of remove unused functions: time 0.00128/1.181, allocations: 43.91 kB / 1.11 GB, free: 15.3 MB / 0.7215 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.0005141/1.182, allocations: 156 kB / 1.11 GB, free: 15.16 MB / 0.7215 GB Notification: Performance of simCode: created initialization part: time 0.0005204/1.182, allocations: 98.59 kB / 1.11 GB, free: 15.07 MB / 0.7215 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.182, allocations: 0 / 1.11 GB, free: 15.07 MB / 0.7215 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/1.182, allocations: 39.98 kB / 1.11 GB, free: 15.03 MB / 0.7215 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008053/1.183, allocations: 37.69 kB / 1.11 GB, free: 15 MB / 0.7215 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/1.185, allocations: 197 kB / 1.11 GB, free: 14.78 MB / 0.7215 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00072/1.185, allocations: 0.7456 MB / 1.111 GB, free: 14.01 MB / 0.7215 GB Notification: Performance of SimCode: time 1.543e-06/1.185, allocations: 0 / 1.111 GB, free: 14.01 MB / 0.7215 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)