Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.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.TimeSeries,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.896/1.896, allocations: 390.4 MB / 397.7 MB, free: 10.63 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.001068/0.001068, allocations: 185.4 kB / 490.8 MB, free: 11.2 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.162/1.162, allocations: 221.4 MB / 0.7863 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008704/0.0008704, allocations: 89.64 kB / 0.9264 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2396/0.2405, allocations: 149.1 MB / 1.072 GB, free: 15.46 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5594/0.7999, allocations: 143 MB / 1.212 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.9465, allocations: 152.9 MB / 1.361 GB, free: 38.75 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.9467, allocations: 76.83 kB / 1.361 GB, free: 38.67 MB / 0.8855 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.01653/0.9632, allocations: 6.961 MB / 1.368 GB, free: 31.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.9633, allocations: 8.781 kB / 1.368 GB, free: 31.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/0.9634, allocations: 23.72 kB / 1.368 GB, free: 31.67 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.9638, allocations: 275 kB / 1.368 GB, free: 31.36 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.9638, allocations: 5.188 kB / 1.368 GB, free: 31.36 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.9639, allocations: 12 kB / 1.368 GB, free: 31.35 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001219/0.964, allocations: 53.28 kB / 1.368 GB, free: 31.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.9641, allocations: 94.69 kB / 1.368 GB, free: 31.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.9641, allocations: 0 / 1.368 GB, free: 31.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.9642, allocations: 0 / 1.368 GB, free: 31.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.9642, allocations: 8.5 kB / 1.368 GB, free: 31.19 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/0.9648, allocations: 442 kB / 1.369 GB, free: 30.73 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.965, allocations: 101.2 kB / 1.369 GB, free: 30.62 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.965, allocations: 36.89 kB / 1.369 GB, free: 30.58 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.9651, allocations: 7.984 kB / 1.369 GB, free: 30.57 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.9652, allocations: 96.05 kB / 1.369 GB, free: 30.47 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.9652, allocations: 0 / 1.369 GB, free: 30.47 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0002094/0.9654, allocations: 118.5 kB / 1.369 GB, free: 30.35 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.9654, allocations: 59.31 kB / 1.369 GB, free: 30.28 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.9656, allocations: 172.5 kB / 1.369 GB, free: 30.11 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.9656, allocations: 33.69 kB / 1.369 GB, free: 30.07 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.9656, allocations: 109.4 kB / 1.369 GB, free: 29.95 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.9657, allocations: 35.55 kB / 1.369 GB, free: 29.92 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.9657, allocations: 0.6875 kB / 1.369 GB, free: 29.92 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.798e-05/0.9657, allocations: 331.6 kB / 1.37 GB, free: 29.59 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.874e-05/0.9658, allocations: 55.97 kB / 1.37 GB, free: 29.53 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.966, allocations: 119.7 kB / 1.37 GB, free: 29.39 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.9661, allocations: 66.64 kB / 1.37 GB, free: 29.33 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9661, allocations: 3.906 kB / 1.37 GB, free: 29.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003212/0.9664, allocations: 210.7 kB / 1.37 GB, free: 29.12 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.9664, allocations: 4 kB / 1.37 GB, free: 29.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.9665, allocations: 4.938 kB / 1.37 GB, free: 29.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.9665, allocations: 4 kB / 1.37 GB, free: 29.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.9666, allocations: 15.98 kB / 1.37 GB, free: 29.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.9666, allocations: 8.938 kB / 1.37 GB, free: 29.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.9668, allocations: 25.08 kB / 1.37 GB, free: 29.06 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.9668, allocations: 10.31 kB / 1.37 GB, free: 29.05 MB / 0.8855 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 6.816e-05/0.9669, allocations: 128.8 kB / 1.37 GB, free: 28.92 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.9669, allocations: 19.75 kB / 1.37 GB, free: 28.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.9671, allocations: 116.9 kB / 1.37 GB, free: 28.78 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.9671, allocations: 3.984 kB / 1.37 GB, free: 28.78 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.9671, allocations: 4 kB / 1.37 GB, free: 28.77 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.9671, allocations: 0 / 1.37 GB, free: 28.77 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.9675, allocations: 441.9 kB / 1.371 GB, free: 28.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.9676, allocations: 0 / 1.371 GB, free: 28.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.9676, allocations: 12 kB / 1.371 GB, free: 28.29 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.9676, allocations: 4.656 kB / 1.371 GB, free: 28.29 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.9676, allocations: 3.984 kB / 1.371 GB, free: 28.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.9676, allocations: 1.125 kB / 1.371 GB, free: 28.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9676, allocations: 0 / 1.371 GB, free: 28.29 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001523/0.9678, allocations: 219.1 kB / 1.371 GB, free: 28.06 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001852/0.968, allocations: 0.5906 MB / 1.372 GB, free: 27.45 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.968, allocations: 95.03 kB / 1.372 GB, free: 27.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.9681, allocations: 4 kB / 1.372 GB, free: 27.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.9682, allocations: 14.36 kB / 1.372 GB, free: 27.33 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.9682, allocations: 16.88 kB / 1.372 GB, free: 27.31 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.9683, allocations: 11.91 kB / 1.372 GB, free: 27.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.248e-05/0.9684, allocations: 138.4 kB / 1.372 GB, free: 27.17 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000884/0.9692, allocations: 48.19 kB / 1.372 GB, free: 27.12 MB / 0.8855 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.0002816/0.9695, allocations: 169.5 kB / 1.372 GB, free: 26.97 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.9698, allocations: 179.7 kB / 1.372 GB, free: 26.79 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9698, allocations: 2.688 kB / 1.372 GB, free: 26.79 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.979e-05/0.9699, allocations: 52.42 kB / 1.372 GB, free: 26.73 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.9702, allocations: 51.52 kB / 1.372 GB, free: 26.69 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.9707, allocations: 217.6 kB / 1.373 GB, free: 26.45 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.9708, allocations: 0.76 MB / 1.373 GB, free: 25.66 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.9709, allocations: 0.7812 kB / 1.373 GB, free: 25.66 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)