Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.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.TimeSeries,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Examples_TimeSeries",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.922/1.922, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001042/0.001042, allocations: 181.3 kB / 487 MB, free: 5.391 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.289/1.289, allocations: 221.3 MB / 0.7819 GB, free: 1.398 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.0009648/0.0009647, allocations: 102.9 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4612/0.4622, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.6646, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5494/1.214, allocations: 152.1 MB / 1.354 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/1.214, allocations: 74.53 kB / 1.354 GB, free: 15.78 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.02039/1.235, allocations: 6.967 MB / 1.361 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/1.235, allocations: 8 kB / 1.361 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.916e-05/1.235, allocations: 20.61 kB / 1.361 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/1.235, allocations: 272.5 kB / 1.361 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/1.235, allocations: 4.797 kB / 1.361 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/1.235, allocations: 15.44 kB / 1.361 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001302/1.236, allocations: 51.38 kB / 1.361 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/1.236, allocations: 95.75 kB / 1.361 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/1.236, allocations: 0 / 1.361 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/1.236, allocations: 4.703 kB / 1.361 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/1.236, allocations: 4.516 kB / 1.361 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/1.236, allocations: 452.7 kB / 1.362 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/1.237, allocations: 93.42 kB / 1.362 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/1.237, allocations: 32.78 kB / 1.362 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/1.237, allocations: 4.516 kB / 1.362 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/1.237, allocations: 100.3 kB / 1.362 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/1.237, allocations: 0 / 1.362 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002326/1.237, allocations: 119.3 kB / 1.362 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/1.237, allocations: 63.39 kB / 1.362 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/1.237, allocations: 172.9 kB / 1.362 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/1.237, allocations: 30.22 kB / 1.362 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/1.237, allocations: 105.7 kB / 1.362 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/1.237, allocations: 41.11 kB / 1.362 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/1.237, allocations: 4.562 kB / 1.362 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.797e-05/1.237, allocations: 332 kB / 1.363 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/1.238, allocations: 56.19 kB / 1.363 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/1.238, allocations: 111.8 kB / 1.363 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/1.238, allocations: 70.84 kB / 1.363 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/1.238, allocations: 0 / 1.363 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003527/1.238, allocations: 209.2 kB / 1.363 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/1.238, allocations: 8.609 kB / 1.363 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/1.238, allocations: 4 kB / 1.363 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/1.238, allocations: 4.75 kB / 1.363 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.75e-05/1.238, allocations: 18.14 kB / 1.363 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.238, allocations: 8.469 kB / 1.363 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/1.239, allocations: 18.94 kB / 1.363 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/1.239, allocations: 14.69 kB / 1.363 GB, free: 12.59 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.timSer1.timeConverted,timSer1.timeConverted,$PRE.timSer.timeConverted,timSer.timeConverted,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,timSer.active,$PRE.timSer.tActivateLast,timSer.tActivateLast,timSer.sampleTrigger,timSer1.active,$PRE.timSer1.tActivateLast,timSer1.tActivateLast,timSer1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.055e-05/1.239, allocations: 124 kB / 1.363 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/1.239, allocations: 16.47 kB / 1.363 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/1.239, allocations: 119.1 kB / 1.363 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/1.239, allocations: 4 kB / 1.363 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/1.239, allocations: 3.906 kB / 1.363 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.239, allocations: 1.219 kB / 1.363 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/1.239, allocations: 437.4 kB / 1.364 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.239, allocations: 4 kB / 1.364 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/1.239, allocations: 9.734 kB / 1.364 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.239, allocations: 0 / 1.364 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/1.239, allocations: 1.078 kB / 1.364 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.239, allocations: 4 kB / 1.364 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.239, allocations: 4 kB / 1.364 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001624/1.24, allocations: 219 kB / 1.364 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002123/1.24, allocations: 0.5905 MB / 1.365 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/1.24, allocations: 90.98 kB / 1.365 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/1.24, allocations: 1.453 kB / 1.365 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/1.24, allocations: 22.23 kB / 1.365 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/1.24, allocations: 18.84 kB / 1.365 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/1.24, allocations: 9.391 kB / 1.365 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.406e-05/1.24, allocations: 137.9 kB / 1.365 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008761/1.241, allocations: 50.11 kB / 1.365 GB, free: 10.89 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: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002805/1.241, allocations: 160 kB / 1.365 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002685/1.242, allocations: 184 kB / 1.365 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.242, allocations: 0 / 1.365 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.137e-05/1.242, allocations: 48.33 kB / 1.365 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/1.242, allocations: 58.38 kB / 1.365 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004833/1.243, allocations: 213.5 kB / 1.366 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003413/1.243, allocations: 0.7579 MB / 1.366 GB, free: 25.58 MB / 0.823 GB Notification: Performance of SimCode: time 2.61e-07/1.243, allocations: 3.938 kB / 1.366 GB, free: 25.58 MB / 0.823 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)