Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.875/1.875, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.001076/0.001076, allocations: 178.5 kB / 490.8 MB, free: 1.871 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.204/1.204, allocations: 221.3 MB / 0.7863 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000941/0.0009411, allocations: 86.36 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4826/0.4835, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.6959, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5725/1.268, allocations: 152.6 MB / 1.361 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/1.269, allocations: 80 kB / 1.361 GB, free: 17.15 MB / 0.823 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.01674/1.286, allocations: 6.356 MB / 1.367 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/1.286, allocations: 8.969 kB / 1.367 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/1.286, allocations: 26.28 kB / 1.367 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/1.286, allocations: 255.6 kB / 1.367 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/1.286, allocations: 2.094 kB / 1.367 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/1.286, allocations: 9.438 kB / 1.367 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001277/1.286, allocations: 54.39 kB / 1.367 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/1.286, allocations: 87.7 kB / 1.367 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/1.286, allocations: 0 / 1.367 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/1.286, allocations: 5.484 kB / 1.367 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/1.286, allocations: 1.25 kB / 1.367 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006182/1.287, allocations: 428.6 kB / 1.368 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/1.287, allocations: 72.38 kB / 1.368 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/1.287, allocations: 26.73 kB / 1.368 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/1.287, allocations: 5.062 kB / 1.368 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/1.287, allocations: 89.22 kB / 1.368 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/1.287, allocations: 4 kB / 1.368 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0002141/1.288, allocations: 95.84 kB / 1.368 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.73e-05/1.288, allocations: 57.97 kB / 1.368 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/1.288, allocations: 171.4 kB / 1.368 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/1.288, allocations: 30.02 kB / 1.368 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/1.288, allocations: 108.2 kB / 1.368 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/1.288, allocations: 26.67 kB / 1.368 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/1.288, allocations: 0 / 1.368 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.288, allocations: 330.8 kB / 1.369 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.81e-05/1.288, allocations: 29.95 kB / 1.369 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/1.288, allocations: 117.1 kB / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.239e-05/1.288, allocations: 42.91 kB / 1.369 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.288, allocations: 0 / 1.369 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001967/1.289, allocations: 128.3 kB / 1.369 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/1.289, allocations: 4.562 kB / 1.369 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.289, allocations: 2.719 kB / 1.369 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/1.289, allocations: 3.312 kB / 1.369 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-05/1.289, allocations: 22.14 kB / 1.369 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.289, allocations: 3.5 kB / 1.369 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/1.289, allocations: 23.92 kB / 1.369 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/1.289, allocations: 5 kB / 1.369 GB, free: 30.89 MB / 0.8386 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.677e-05/1.289, allocations: 118 kB / 1.369 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/1.289, allocations: 16.36 kB / 1.369 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/1.289, allocations: 110.2 kB / 1.369 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.289, allocations: 2.125 kB / 1.369 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.289, allocations: 0 / 1.369 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.289, allocations: 1.156 kB / 1.369 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/1.29, allocations: 422.5 kB / 1.37 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.29, allocations: 0 / 1.37 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/1.29, allocations: 18.73 kB / 1.37 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/1.29, allocations: 1.625 kB / 1.37 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/1.29, allocations: 0.8438 kB / 1.37 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/1.29, allocations: 5.438 kB / 1.37 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.29, allocations: 0 / 1.37 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001825/1.29, allocations: 203 kB / 1.37 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003389/1.29, allocations: 0.5674 MB / 1.37 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/1.29, allocations: 94.22 kB / 1.371 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/1.29, allocations: 1.125 kB / 1.371 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/1.291, allocations: 15.09 kB / 1.371 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/1.291, allocations: 20.64 kB / 1.371 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/1.291, allocations: 5.469 kB / 1.371 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.424e-05/1.291, allocations: 127.1 kB / 1.371 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008478/1.292, allocations: 49.16 kB / 1.371 GB, free: 29.57 MB / 0.8386 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.0003522/1.292, allocations: 164.4 kB / 1.371 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001766/1.292, allocations: 87.16 kB / 1.371 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/1.292, allocations: 4.125 kB / 1.371 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.605e-05/1.292, allocations: 40.42 kB / 1.371 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/1.293, allocations: 40.75 kB / 1.371 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/1.293, allocations: 193.8 kB / 1.371 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/1.293, allocations: 0.7607 MB / 1.372 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of SimCode: time 2.9e-07/1.293, allocations: 1.375 kB / 1.372 GB, free: 28.63 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)