Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.906/1.906, allocations: 248.6 MB / 255.9 MB, free: 1.188 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.001641/0.001641, allocations: 189.9 kB / 315.1 MB, free: 9.586 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.658/1.658, allocations: 205.1 MB / 0.5658 GB, free: 14.01 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.002181/0.00218, allocations: 91.44 kB / 0.67 GB, free: 52.07 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2328/0.2351, allocations: 112.4 MB / 0.7797 GB, free: 10.63 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.4611, allocations: 106.2 MB / 0.8835 GB, free: 280 kB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.52/0.9811, allocations: 134.6 MB / 1.015 GB, free: 12.03 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.9815, allocations: 79.89 kB / 1.015 GB, free: 11.95 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.03644/1.018, allocations: 8.068 MB / 1.023 GB, free: 3.977 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.018, allocations: 8 kB / 1.023 GB, free: 3.969 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.64e-05/1.018, allocations: 27.8 kB / 1.023 GB, free: 3.941 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007604/1.019, allocations: 254.6 kB / 1.023 GB, free: 3.652 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/1.019, allocations: 8 kB / 1.023 GB, free: 3.645 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.793e-05/1.019, allocations: 12 kB / 1.023 GB, free: 3.633 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001872/1.019, allocations: 43.98 kB / 1.023 GB, free: 3.59 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/1.019, allocations: 76.77 kB / 1.023 GB, free: 3.512 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.019, allocations: 4 kB / 1.023 GB, free: 3.508 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/1.019, allocations: 0 / 1.023 GB, free: 3.508 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/1.019, allocations: 0 / 1.023 GB, free: 3.508 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/1.02, allocations: 421 kB / 1.024 GB, free: 3.059 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/1.021, allocations: 90.75 kB / 1.024 GB, free: 2.961 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/1.021, allocations: 28.86 kB / 1.024 GB, free: 2.93 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/1.021, allocations: 0 / 1.024 GB, free: 2.93 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/1.021, allocations: 99.22 kB / 1.024 GB, free: 2.82 MB / 0.659 GB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/1.021, allocations: 0 / 1.024 GB, free: 2.82 MB / 0.659 GB Notification: Performance of matching and sorting (n=16): time 0.0003491/1.022, allocations: 108.9 kB / 1.024 GB, free: 2.711 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/1.022, allocations: 59.41 kB / 1.024 GB, free: 2.641 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/1.022, allocations: 173.4 kB / 1.024 GB, free: 2.461 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/1.022, allocations: 29.7 kB / 1.024 GB, free: 2.426 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 9.348e-05/1.022, allocations: 112.4 kB / 1.024 GB, free: 2.312 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/1.022, allocations: 27.61 kB / 1.024 GB, free: 2.285 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/1.022, allocations: 0 / 1.024 GB, free: 2.285 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.022, allocations: 335 kB / 1.025 GB, free: 1.949 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/1.022, allocations: 29.22 kB / 1.025 GB, free: 1.922 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/1.023, allocations: 122.6 kB / 1.025 GB, free: 1.777 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/1.023, allocations: 27.98 kB / 1.025 GB, free: 1.75 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.023, allocations: 4 kB / 1.025 GB, free: 1.746 MB / 0.659 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003562/1.023, allocations: 137.2 kB / 1.025 GB, free: 1.605 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.023, allocations: 4 kB / 1.025 GB, free: 1.602 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/1.023, allocations: 4 kB / 1.025 GB, free: 1.598 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.023, allocations: 4.547 kB / 1.025 GB, free: 1.594 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/1.023, allocations: 22.44 kB / 1.025 GB, free: 1.578 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/1.023, allocations: 7.938 kB / 1.025 GB, free: 1.57 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/1.024, allocations: 31.95 kB / 1.025 GB, free: 1.539 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/1.024, allocations: 4 kB / 1.025 GB, free: 1.535 MB / 0.659 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,$whenCondition5,$whenCondition4,$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,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001392/1.024, allocations: 121.2 kB / 1.025 GB, free: 1.414 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/1.024, allocations: 15.81 kB / 1.025 GB, free: 1.398 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.104e-05/1.024, allocations: 17.59 kB / 1.025 GB, free: 1.383 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/1.024, allocations: 4 kB / 1.025 GB, free: 1.379 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.024, allocations: 0 / 1.025 GB, free: 1.379 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/1.024, allocations: 7.891 kB / 1.025 GB, free: 1.371 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/1.025, allocations: 450.8 kB / 1.026 GB, free: 0.8867 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.025, allocations: 0 / 1.026 GB, free: 0.8867 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.454e-05/1.025, allocations: 7.938 kB / 1.026 GB, free: 0.8789 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/1.025, allocations: 0 / 1.026 GB, free: 0.8789 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/1.025, allocations: 11.98 kB / 1.026 GB, free: 0.8672 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/1.025, allocations: 3.906 kB / 1.026 GB, free: 0.8633 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.025, allocations: 0 / 1.026 GB, free: 0.8633 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003169/1.026, allocations: 201.5 kB / 1.026 GB, free: 0.6523 MB / 0.659 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004633/1.026, allocations: 0.5888 MB / 1.026 GB, free: 48 kB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/1.026, allocations: 96.91 kB / 1.027 GB, free: 15.93 MB / 0.6746 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/1.026, allocations: 0 / 1.027 GB, free: 15.93 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/1.027, allocations: 15.98 kB / 1.027 GB, free: 15.92 MB / 0.6746 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/1.027, allocations: 27.86 kB / 1.027 GB, free: 15.89 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/1.027, allocations: 8 kB / 1.027 GB, free: 15.88 MB / 0.6746 GB Notification: Performance of sort global known variables: time 0.0001725/1.027, allocations: 136.3 kB / 1.027 GB, free: 15.75 MB / 0.6746 GB Notification: Performance of remove unused functions: time 0.00137/1.028, allocations: 47.92 kB / 1.027 GB, free: 15.7 MB / 0.6746 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000509/1.029, allocations: 160.2 kB / 1.027 GB, free: 15.56 MB / 0.6746 GB Notification: Performance of simCode: created initialization part: time 0.0004026/1.029, allocations: 95.94 kB / 1.027 GB, free: 15.47 MB / 0.6746 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.029, allocations: 0 / 1.027 GB, free: 15.47 MB / 0.6746 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/1.03, allocations: 47.98 kB / 1.027 GB, free: 15.43 MB / 0.6746 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005725/1.03, allocations: 45.22 kB / 1.027 GB, free: 15.39 MB / 0.6746 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008388/1.031, allocations: 211.9 kB / 1.027 GB, free: 15.15 MB / 0.6746 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004166/1.031, allocations: 0.7499 MB / 1.028 GB, free: 14.38 MB / 0.6746 GB Notification: Performance of SimCode: time 1.112e-06/1.031, allocations: 4 kB / 1.028 GB, free: 14.38 MB / 0.6746 GB