Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.Scatter.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.Scatter,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.017/2.017, allocations: 248.6 MB / 255.9 MB, free: 7.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001657/0.001657, allocations: 187.9 kB / 315.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.1 MB / 0.5658 GB, free: 392 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 87.03 kB / 0.67 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.467/0.4684, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.7037, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6686/1.372, allocations: 134.9 MB / 1.015 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/1.373, allocations: 77.67 kB / 1.015 GB, free: 5.27 MB / 0.6355 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.02963/1.402, allocations: 6.328 MB / 1.021 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.402, allocations: 12 kB / 1.022 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.564e-05/1.403, allocations: 19.81 kB / 1.022 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007739/1.403, allocations: 252.3 kB / 1.022 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/1.403, allocations: 7.938 kB / 1.022 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/1.403, allocations: 8 kB / 1.022 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002049/1.404, allocations: 53.33 kB / 1.022 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/1.404, allocations: 81.92 kB / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/1.404, allocations: 3.984 kB / 1.022 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/1.404, allocations: 0 / 1.022 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/1.404, allocations: 4 kB / 1.022 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009842/1.405, allocations: 426 kB / 1.022 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/1.405, allocations: 64.83 kB / 1.022 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.211e-05/1.405, allocations: 30.86 kB / 1.022 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/1.405, allocations: 3.984 kB / 1.022 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/1.406, allocations: 87.3 kB / 1.023 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 3.096e-06/1.406, allocations: 4 kB / 1.023 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0003534/1.406, allocations: 100.6 kB / 1.023 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/1.406, allocations: 55.41 kB / 1.023 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/1.406, allocations: 162.2 kB / 1.023 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.195e-05/1.406, allocations: 33.08 kB / 1.023 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.187e-05/1.406, allocations: 103.6 kB / 1.023 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/1.406, allocations: 34.22 kB / 1.023 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/1.407, allocations: 0 / 1.023 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001938/1.407, allocations: 329 kB / 1.023 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-05/1.407, allocations: 30.27 kB / 1.023 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/1.407, allocations: 116.7 kB / 1.023 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/1.407, allocations: 37.67 kB / 1.023 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.407, allocations: 0 / 1.023 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003443/1.408, allocations: 123.5 kB / 1.024 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.408, allocations: 11.91 kB / 1.024 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.408, allocations: 0 / 1.024 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/1.408, allocations: 4 kB / 1.024 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/1.408, allocations: 32.05 kB / 1.024 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.408, allocations: 0 / 1.024 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/1.408, allocations: 23.86 kB / 1.024 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/1.408, allocations: 8 kB / 1.024 GB, free: 13.71 MB / 0.6511 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 0.0001366/1.408, allocations: 122.7 kB / 1.024 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/1.409, allocations: 19.75 kB / 1.024 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/1.409, allocations: 112.6 kB / 1.024 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/1.409, allocations: 4 kB / 1.024 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.409, allocations: 0 / 1.024 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.409, allocations: 0 / 1.024 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008109/1.41, allocations: 419.3 kB / 1.024 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.41, allocations: 0 / 1.024 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.917e-05/1.41, allocations: 10.38 kB / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/1.41, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/1.41, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/1.41, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.41, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002953/1.41, allocations: 212.5 kB / 1.025 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004283/1.411, allocations: 0.5654 MB / 1.025 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.912e-05/1.411, allocations: 96.84 kB / 1.025 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/1.411, allocations: 0 / 1.025 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/1.411, allocations: 19.78 kB / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/1.411, allocations: 15.97 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/1.411, allocations: 4 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001532/1.411, allocations: 127.2 kB / 1.025 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00134/1.413, allocations: 43.12 kB / 1.025 GB, free: 11.98 MB / 0.6511 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.0005166/1.413, allocations: 174 kB / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003852/1.414, allocations: 80.23 kB / 1.026 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.414, allocations: 320 / 1.026 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/1.414, allocations: 42.69 kB / 1.026 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/1.414, allocations: 50.92 kB / 1.026 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008129/1.415, allocations: 189.3 kB / 1.026 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004351/1.416, allocations: 0.7506 MB / 1.027 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of SimCode: time 8.11e-07/1.416, allocations: 0 / 1.027 GB, free: 10.72 MB / 0.6511 GB