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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.869/1.869, allocations: 387.3 MB / 394.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 178.3 kB / 487 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 221.4 MB / 0.7819 GB, free: 6.699 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009567/0.0009567, allocations: 105.1 kB / 0.9213 GB, free: 43.62 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2607/0.2617, allocations: 148.5 MB / 1.066 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5669/0.8286, allocations: 142.3 MB / 1.205 GB, free: 72.74 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1695/0.9981, allocations: 151.8 MB / 1.353 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.9984, allocations: 71.95 kB / 1.354 GB, free: 11.32 MB / 0.8542 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.01795/1.016, allocations: 6.372 MB / 1.36 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/1.016, allocations: 8 kB / 1.36 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.737e-05/1.016, allocations: 21.09 kB / 1.36 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/1.017, allocations: 254.4 kB / 1.36 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/1.017, allocations: 4 kB / 1.36 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/1.017, allocations: 12 kB / 1.36 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001311/1.017, allocations: 52.3 kB / 1.36 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/1.017, allocations: 86.55 kB / 1.36 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/1.017, allocations: 0 / 1.36 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/1.017, allocations: 0 / 1.36 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/1.017, allocations: 0 / 1.36 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006641/1.018, allocations: 433.4 kB / 1.361 GB, free: 4.004 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/1.018, allocations: 66.56 kB / 1.361 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/1.018, allocations: 37.02 kB / 1.361 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/1.018, allocations: 0 / 1.361 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/1.018, allocations: 87.38 kB / 1.361 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/1.018, allocations: 0 / 1.361 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0002296/1.019, allocations: 101.4 kB / 1.361 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/1.019, allocations: 55.41 kB / 1.361 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/1.019, allocations: 177 kB / 1.361 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/1.019, allocations: 29.7 kB / 1.361 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/1.019, allocations: 112.3 kB / 1.361 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/1.019, allocations: 27.7 kB / 1.361 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/1.019, allocations: 0 / 1.361 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.019, allocations: 330.7 kB / 1.362 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.22e-05/1.019, allocations: 24 kB / 1.362 GB, free: 2.91 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/1.019, allocations: 124.7 kB / 1.362 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.516e-05/1.019, allocations: 35.92 kB / 1.362 GB, free: 2.723 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.019, allocations: 0 / 1.362 GB, free: 2.723 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002235/1.02, allocations: 130.4 kB / 1.362 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/1.02, allocations: 4 kB / 1.362 GB, free: 2.586 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.02, allocations: 4 kB / 1.362 GB, free: 2.582 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/1.02, allocations: 3.938 kB / 1.362 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.796e-05/1.02, allocations: 19.98 kB / 1.362 GB, free: 2.559 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/1.02, allocations: 2.719 kB / 1.362 GB, free: 2.559 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/1.02, allocations: 27.98 kB / 1.362 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/1.02, allocations: 8 kB / 1.362 GB, free: 2.523 MB / 0.8542 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.452e-05/1.02, allocations: 113.6 kB / 1.362 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/1.02, allocations: 20.53 kB / 1.362 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/1.02, allocations: 106.8 kB / 1.362 GB, free: 2.273 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/1.02, allocations: 0 / 1.362 GB, free: 2.273 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.02, allocations: 4 kB / 1.362 GB, free: 2.27 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.02, allocations: 7.922 kB / 1.362 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/1.021, allocations: 407 kB / 1.363 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/1.021, allocations: 3.938 kB / 1.363 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/1.021, allocations: 12.67 kB / 1.363 GB, free: 1.805 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/1.021, allocations: 11.91 kB / 1.363 GB, free: 1.793 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/1.021, allocations: 0 / 1.363 GB, free: 1.793 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.021, allocations: 0 / 1.363 GB, free: 1.793 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.021, allocations: 0 / 1.363 GB, free: 1.793 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001807/1.021, allocations: 196.5 kB / 1.363 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002936/1.022, allocations: 0.5777 MB / 1.363 GB, free: 0.9883 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/1.022, allocations: 96.86 kB / 1.363 GB, free: 0.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/1.022, allocations: 0 / 1.363 GB, free: 0.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/1.022, allocations: 11.98 kB / 1.363 GB, free: 0.8633 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/1.022, allocations: 15.97 kB / 1.363 GB, free: 0.8477 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/1.022, allocations: 8 kB / 1.363 GB, free: 0.8398 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.196e-05/1.022, allocations: 132.3 kB / 1.364 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008583/1.023, allocations: 47.91 kB / 1.364 GB, free: 0.6641 MB / 0.8542 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.0003318/1.023, allocations: 174.6 kB / 1.364 GB, free: 0.5156 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001739/1.023, allocations: 79.86 kB / 1.364 GB, free: 448 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.023, allocations: 0 / 1.364 GB, free: 448 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.722e-05/1.023, allocations: 40 kB / 1.364 GB, free: 408 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/1.024, allocations: 41.78 kB / 1.364 GB, free: 368 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/1.024, allocations: 203.1 kB / 1.364 GB, free: 144 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/1.025, allocations: 0.7432 MB / 1.365 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of SimCode: time 2.7e-07/1.025, allocations: 4 kB / 1.365 GB, free: 15.37 MB / 0.8698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)