Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.399/1.399, allocations: 285.5 MB / 292.8 MB, free: 10.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009429/0.0009429, allocations: 187.3 kB / 361.1 MB, free: 7.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.164/1.164, allocations: 205.1 MB / 0.6195 GB, free: 10.32 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008015/0.0008016, allocations: 92.8 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2091/0.2099, allocations: 121.4 MB / 0.8511 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.517/0.7269, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1527/0.8797, allocations: 140.7 MB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.8799, allocations: 77.27 kB / 1.101 GB, free: 15.23 MB / 0.7136 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.01902/0.899, allocations: 6.926 MB / 1.108 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.899, allocations: 12.5 kB / 1.108 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.8992, allocations: 23.8 kB / 1.108 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007721/0.8999, allocations: 270.5 kB / 1.108 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.9, allocations: 4 kB / 1.108 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/0.9001, allocations: 12 kB / 1.108 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002576/0.9003, allocations: 47.98 kB / 1.108 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.9006, allocations: 98.27 kB / 1.108 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.9006, allocations: 2.344 kB / 1.108 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.9007, allocations: 4 kB / 1.108 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.9007, allocations: 8 kB / 1.108 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008885/0.9016, allocations: 440.8 kB / 1.109 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.9018, allocations: 88.47 kB / 1.109 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.945e-05/0.9019, allocations: 40.89 kB / 1.109 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.9019, allocations: 3.984 kB / 1.109 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.9021, allocations: 91.39 kB / 1.109 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 3.927e-06/0.9021, allocations: 0 / 1.109 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002498/0.9023, allocations: 128.1 kB / 1.109 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.9024, allocations: 51.41 kB / 1.109 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.9026, allocations: 178.9 kB / 1.109 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.9026, allocations: 29.69 kB / 1.109 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.9027, allocations: 104.5 kB / 1.11 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.9028, allocations: 39.55 kB / 1.11 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/0.9028, allocations: 4 kB / 1.11 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.903, allocations: 330.7 kB / 1.11 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.9031, allocations: 55.97 kB / 1.11 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.9032, allocations: 107.7 kB / 1.11 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.9034, allocations: 75.91 kB / 1.11 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9034, allocations: 0 / 1.11 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003728/0.9038, allocations: 206.8 kB / 1.11 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.9038, allocations: 5.875 kB / 1.11 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.9038, allocations: 8.156 kB / 1.11 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.9038, allocations: 7.938 kB / 1.11 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.126e-05/0.9039, allocations: 19.92 kB / 1.11 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.9039, allocations: 7.906 kB / 1.11 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.9042, allocations: 19.92 kB / 1.11 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.9042, allocations: 12 kB / 1.11 GB, free: 5.672 MB / 0.7136 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 9.981e-05/0.9043, allocations: 122.8 kB / 1.111 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.9043, allocations: 19.8 kB / 1.111 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.9046, allocations: 119.3 kB / 1.111 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.9046, allocations: 4 kB / 1.111 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.9046, allocations: 7.891 kB / 1.111 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.9046, allocations: 1.25 kB / 1.111 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.9051, allocations: 438.8 kB / 1.111 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9051, allocations: 0 / 1.111 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.9052, allocations: 8 kB / 1.111 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.9052, allocations: 0 / 1.111 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.9052, allocations: 3.984 kB / 1.111 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.9052, allocations: 0 / 1.111 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.9052, allocations: 3.906 kB / 1.111 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002383/0.9054, allocations: 228.1 kB / 1.111 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002866/0.9057, allocations: 0.5816 MB / 1.112 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.9058, allocations: 100.9 kB / 1.112 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.9058, allocations: 0 / 1.112 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.906, allocations: 19.89 kB / 1.112 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.906, allocations: 11.97 kB / 1.112 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.906, allocations: 12 kB / 1.112 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.993e-05/0.9062, allocations: 137.5 kB / 1.112 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008473/0.907, allocations: 55.92 kB / 1.112 GB, free: 3.723 MB / 0.7136 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.0003039/0.9073, allocations: 163.5 kB / 1.112 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002821/0.9076, allocations: 187.8 kB / 1.113 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9076, allocations: 0 / 1.113 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.527e-05/0.9077, allocations: 47.92 kB / 1.113 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.908, allocations: 51.61 kB / 1.113 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005678/0.9086, allocations: 216 kB / 1.113 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/0.909, allocations: 0.7596 MB / 1.114 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.909, allocations: 3.938 kB / 1.114 GB, free: 2.262 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)