Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 1.998/1.998, allocations: 248.6 MB / 255.9 MB, free: 1.207 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001676/0.001676, allocations: 184.4 kB / 315.1 MB, free: 9.625 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.1 MB / 0.5658 GB, free: 14.17 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001411/0.001411, allocations: 92.53 kB / 0.6699 GB, free: 52.25 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2455/0.247, allocations: 112.4 MB / 0.7797 GB, free: 10.72 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.5078, allocations: 106.2 MB / 0.8835 GB, free: 364 kB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.591/1.099, allocations: 134.2 MB / 1.015 GB, free: 12.53 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/1.099, allocations: 79.09 kB / 1.015 GB, free: 12.45 MB / 0.659 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.03239/1.132, allocations: 6.918 MB / 1.021 GB, free: 5.602 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/1.132, allocations: 8 kB / 1.021 GB, free: 5.594 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/1.132, allocations: 23.72 kB / 1.021 GB, free: 5.57 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008427/1.133, allocations: 266.5 kB / 1.022 GB, free: 5.273 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/1.133, allocations: 4.75 kB / 1.022 GB, free: 5.27 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.815e-05/1.133, allocations: 15.98 kB / 1.022 GB, free: 5.254 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002334/1.133, allocations: 55.91 kB / 1.022 GB, free: 5.199 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/1.133, allocations: 85.66 kB / 1.022 GB, free: 5.109 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/1.133, allocations: 3.938 kB / 1.022 GB, free: 5.105 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/1.133, allocations: 10.2 kB / 1.022 GB, free: 5.098 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/1.133, allocations: 0 / 1.022 GB, free: 5.098 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/1.135, allocations: 441.8 kB / 1.022 GB, free: 4.629 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/1.135, allocations: 100.4 kB / 1.022 GB, free: 4.523 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/1.135, allocations: 32.86 kB / 1.022 GB, free: 4.488 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/1.135, allocations: 7.984 kB / 1.022 GB, free: 4.48 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/1.136, allocations: 98.52 kB / 1.022 GB, free: 4.375 MB / 0.659 GB Notification: Performance of pre-optimization done (n=16): time 2.685e-06/1.136, allocations: 0 / 1.022 GB, free: 4.375 MB / 0.659 GB Notification: Performance of matching and sorting (n=16): time 0.0004124/1.136, allocations: 113.4 kB / 1.023 GB, free: 4.258 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/1.136, allocations: 59.41 kB / 1.023 GB, free: 4.188 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/1.136, allocations: 178.8 kB / 1.023 GB, free: 4 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 5.78e-05/1.136, allocations: 33.7 kB / 1.023 GB, free: 3.961 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 9.443e-05/1.136, allocations: 100.5 kB / 1.023 GB, free: 3.859 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/1.137, allocations: 39.45 kB / 1.023 GB, free: 3.82 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/1.137, allocations: 4 kB / 1.023 GB, free: 3.816 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.0002212/1.137, allocations: 330.8 kB / 1.023 GB, free: 3.484 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/1.137, allocations: 53.3 kB / 1.023 GB, free: 3.434 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/1.137, allocations: 123.8 kB / 1.023 GB, free: 3.285 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/1.138, allocations: 68.08 kB / 1.024 GB, free: 3.219 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.138, allocations: 4.031 kB / 1.024 GB, free: 3.215 MB / 0.659 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006853/1.138, allocations: 216.9 kB / 1.024 GB, free: 3 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.138, allocations: 4 kB / 1.024 GB, free: 2.996 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/1.138, allocations: 0 / 1.024 GB, free: 2.996 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/1.138, allocations: 4 kB / 1.024 GB, free: 2.992 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/1.139, allocations: 15.98 kB / 1.024 GB, free: 2.977 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/1.139, allocations: 7.938 kB / 1.024 GB, free: 2.969 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/1.139, allocations: 27.98 kB / 1.024 GB, free: 2.941 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.786e-05/1.139, allocations: 15.98 kB / 1.024 GB, free: 2.926 MB / 0.659 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 0.0001562/1.139, allocations: 114 kB / 1.024 GB, free: 2.809 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/1.139, allocations: 21.97 kB / 1.024 GB, free: 2.789 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/1.14, allocations: 123.2 kB / 1.024 GB, free: 2.668 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/1.14, allocations: 4 kB / 1.024 GB, free: 2.664 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.14, allocations: 0 / 1.024 GB, free: 2.664 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.14, allocations: 4 kB / 1.024 GB, free: 2.66 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009017/1.141, allocations: 438.7 kB / 1.024 GB, free: 2.188 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.141, allocations: 8 kB / 1.024 GB, free: 2.18 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-05/1.141, allocations: 7.984 kB / 1.024 GB, free: 2.172 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/1.141, allocations: 0 / 1.024 GB, free: 2.172 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/1.141, allocations: 0 / 1.024 GB, free: 2.172 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/1.141, allocations: 4 kB / 1.024 GB, free: 2.168 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.141, allocations: 0 / 1.024 GB, free: 2.168 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003308/1.141, allocations: 222.3 kB / 1.025 GB, free: 1.938 MB / 0.659 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004576/1.142, allocations: 0.5856 MB / 1.025 GB, free: 1.332 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 8.632e-05/1.142, allocations: 96.83 kB / 1.025 GB, free: 1.219 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/1.142, allocations: 0 / 1.025 GB, free: 1.219 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/1.142, allocations: 11.98 kB / 1.025 GB, free: 1.207 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/1.142, allocations: 16.72 kB / 1.025 GB, free: 1.191 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/1.142, allocations: 12 kB / 1.025 GB, free: 1.18 MB / 0.659 GB Notification: Performance of sort global known variables: time 0.0001729/1.142, allocations: 133.5 kB / 1.026 GB, free: 1.051 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.001355/1.144, allocations: 59.83 kB / 1.026 GB, free: 0.9922 MB / 0.659 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.0005118/1.144, allocations: 167.4 kB / 1.026 GB, free: 0.8516 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 0.000558/1.145, allocations: 187.2 kB / 1.026 GB, free: 0.6562 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.145, allocations: 0 / 1.026 GB, free: 0.6562 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/1.145, allocations: 44.97 kB / 1.026 GB, free: 0.6133 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/1.146, allocations: 50.45 kB / 1.026 GB, free: 0.5664 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008621/1.146, allocations: 211.9 kB / 1.026 GB, free: 336 kB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005241/1.147, allocations: 0.7569 MB / 1.027 GB, free: 15.55 MB / 0.6746 GB Notification: Performance of SimCode: time 1.252e-06/1.147, allocations: 0 / 1.027 GB, free: 15.55 MB / 0.6746 GB