Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.941/1.941, allocations: 248.6 MB / 255.9 MB, free: 7.125 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.001595/0.001595, allocations: 193.8 kB / 315.1 MB, free: 4.27 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.695/1.695, allocations: 205.1 MB / 0.5658 GB, free: 368 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.001239/0.001239, allocations: 94.7 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4188/0.4201, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.6099, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5948/1.205, allocations: 135.7 MB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/1.205, allocations: 75.2 kB / 1.016 GB, free: 4.527 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.03803/1.243, allocations: 8.692 MB / 1.025 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/1.243, allocations: 8 kB / 1.025 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.981e-05/1.243, allocations: 23.81 kB / 1.025 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007791/1.244, allocations: 262.7 kB / 1.025 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/1.244, allocations: 4 kB / 1.025 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.452e-05/1.244, allocations: 12 kB / 1.025 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001972/1.244, allocations: 45.98 kB / 1.025 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/1.245, allocations: 81.25 kB / 1.025 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/1.245, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/1.245, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/1.245, allocations: 4 kB / 1.025 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000902/1.246, allocations: 414 kB / 1.025 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/1.246, allocations: 92.56 kB / 1.025 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.822e-05/1.246, allocations: 31.17 kB / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/1.246, allocations: 4 kB / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/1.246, allocations: 92.47 kB / 1.026 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/1.246, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0003465/1.247, allocations: 116.8 kB / 1.026 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/1.247, allocations: 63.39 kB / 1.026 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/1.247, allocations: 170.2 kB / 1.026 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/1.247, allocations: 29.7 kB / 1.026 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.051e-05/1.247, allocations: 107.4 kB / 1.026 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/1.247, allocations: 27 kB / 1.026 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/1.247, allocations: 4 kB / 1.026 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.247, allocations: 330.2 kB / 1.026 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.941e-05/1.248, allocations: 26.88 kB / 1.026 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/1.248, allocations: 117.5 kB / 1.027 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/1.248, allocations: 31.36 kB / 1.027 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/1.248, allocations: 3.906 kB / 1.027 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003414/1.248, allocations: 138.3 kB / 1.027 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.248, allocations: 8 kB / 1.027 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/1.248, allocations: 0 / 1.027 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.248, allocations: 4 kB / 1.027 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/1.248, allocations: 22.86 kB / 1.027 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.249, allocations: 0 / 1.027 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/1.249, allocations: 28.02 kB / 1.027 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/1.249, allocations: 8 kB / 1.027 GB, free: 11.05 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: 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.0001383/1.249, allocations: 118.5 kB / 1.027 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/1.249, allocations: 15.81 kB / 1.027 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.98e-05/1.249, allocations: 16.34 kB / 1.027 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/1.249, allocations: 4 kB / 1.027 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.249, allocations: 7.906 kB / 1.027 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/1.249, allocations: 3.984 kB / 1.027 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009837/1.25, allocations: 453.7 kB / 1.027 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.25, allocations: 0 / 1.027 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/1.25, allocations: 4.047 kB / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/1.25, allocations: 3.984 kB / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/1.25, allocations: 4 kB / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.77e-06/1.25, allocations: 3.906 kB / 1.027 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.25, allocations: 4 kB / 1.027 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002849/1.251, allocations: 217.1 kB / 1.028 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000487/1.251, allocations: 0.5742 MB / 1.028 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.73e-05/1.251, allocations: 100.8 kB / 1.028 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/1.251, allocations: 4 kB / 1.028 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/1.252, allocations: 19.42 kB / 1.028 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.236e-05/1.252, allocations: 23.86 kB / 1.028 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/1.252, allocations: 7.312 kB / 1.028 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001558/1.252, allocations: 132.3 kB / 1.028 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00131/1.253, allocations: 43.42 kB / 1.028 GB, free: 9.34 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: 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.0004556/1.254, allocations: 174.8 kB / 1.029 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003386/1.254, allocations: 83.62 kB / 1.029 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.254, allocations: 0 / 1.029 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/1.254, allocations: 61.2 kB / 1.029 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/1.255, allocations: 43.08 kB / 1.029 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006538/1.255, allocations: 191.7 kB / 1.029 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004251/1.256, allocations: 0.7457 MB / 1.03 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of SimCode: time 8.31e-07/1.256, allocations: 0 / 1.03 GB, free: 8.078 MB / 0.6511 GB