Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",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.996/1.996, allocations: 248.6 MB / 255.9 MB, free: 7.164 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.001793/0.001793, allocations: 183.3 kB / 315.1 MB, free: 4.219 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.878/1.878, allocations: 205.1 MB / 0.5658 GB, free: 312 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.001225/0.001225, allocations: 83.34 kB / 0.67 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.445/0.4463, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.6406, allocations: 106.3 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6307/1.271, allocations: 134.6 MB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/1.272, allocations: 75.77 kB / 1.015 GB, free: 5.531 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.03027/1.302, allocations: 6.881 MB / 1.022 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/1.302, allocations: 8 kB / 1.022 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.475e-05/1.302, allocations: 15.81 kB / 1.022 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007615/1.303, allocations: 249 kB / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/1.303, allocations: 7.938 kB / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/1.303, allocations: 11.94 kB / 1.022 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000179/1.303, allocations: 46.86 kB / 1.022 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/1.303, allocations: 75.41 kB / 1.022 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.303, allocations: 0 / 1.022 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/1.304, allocations: 0 / 1.022 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.304, allocations: 0 / 1.022 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009097/1.304, allocations: 394.5 kB / 1.022 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/1.305, allocations: 62.81 kB / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.925e-05/1.305, allocations: 28.48 kB / 1.023 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/1.305, allocations: 4 kB / 1.023 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/1.305, allocations: 79.27 kB / 1.023 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 2.395e-06/1.305, allocations: 0 / 1.023 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0002986/1.305, allocations: 96.38 kB / 1.023 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/1.305, allocations: 59.33 kB / 1.023 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/1.306, allocations: 169.2 kB / 1.023 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/1.306, allocations: 29.7 kB / 1.023 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/1.306, allocations: 103.2 kB / 1.023 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/1.306, allocations: 26.69 kB / 1.023 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/1.306, allocations: 0 / 1.023 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.306, allocations: 325.5 kB / 1.023 GB, free: 14 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/1.306, allocations: 22.8 kB / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/1.306, allocations: 105.1 kB / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/1.306, allocations: 31.83 kB / 1.024 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.306, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002994/1.307, allocations: 111.4 kB / 1.024 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.307, allocations: 8.125 kB / 1.024 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.307, allocations: 4 kB / 1.024 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.307, allocations: 0 / 1.024 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/1.307, allocations: 19.12 kB / 1.024 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/1.307, allocations: 0 / 1.024 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/1.307, allocations: 23.83 kB / 1.024 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/1.307, allocations: 4 kB / 1.024 GB, free: 13.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001293/1.308, allocations: 120.9 kB / 1.024 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/1.308, allocations: 15.81 kB / 1.024 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.791e-05/1.308, allocations: 17.05 kB / 1.024 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/1.308, allocations: 4 kB / 1.024 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.308, allocations: 0 / 1.024 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.308, allocations: 0 / 1.024 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007408/1.308, allocations: 399.8 kB / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/1.308, allocations: 0 / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/1.309, allocations: 4 kB / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/1.309, allocations: 0 / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/1.309, allocations: 0 / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.309, allocations: 0 / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.309, allocations: 3.906 kB / 1.024 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002528/1.309, allocations: 192.1 kB / 1.024 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004029/1.309, allocations: 0.5626 MB / 1.025 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-05/1.309, allocations: 92.91 kB / 1.025 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/1.309, allocations: 0 / 1.025 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/1.31, allocations: 23.48 kB / 1.025 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.953e-05/1.31, allocations: 11.89 kB / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/1.31, allocations: 8.031 kB / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001466/1.31, allocations: 130.4 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001341/1.311, allocations: 47.25 kB / 1.025 GB, free: 12.07 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 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0004472/1.312, allocations: 159 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002674/1.312, allocations: 80.55 kB / 1.025 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.312, allocations: 0 / 1.025 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/1.312, allocations: 33.88 kB / 1.026 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/1.313, allocations: 38.11 kB / 1.026 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007048/1.313, allocations: 180.9 kB / 1.026 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004413/1.314, allocations: 0.7396 MB / 1.026 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of SimCode: time 8.82e-07/1.314, allocations: 0 / 1.026 GB, free: 10.86 MB / 0.6511 GB