Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [: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.3-maint.7.0.x/package.mo): time 1.209/1.209, allocations: 249.4 MB / 256.7 MB, free: 6.953 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.001075/0.001075, allocations: 189.2 kB / 316 MB, free: 3.555 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.053/1.053, allocations: 205.1 MB / 0.5667 GB, free: 15.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007813/0.0007814, allocations: 85.78 kB / 0.671 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.769e-06/4.789e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1346, allocations: 106.3 MB / 0.8846 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4002/0.5348, allocations: 135.9 MB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000179/0.535, allocations: 78.83 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02043/0.5554, allocations: 8.15 MB / 1.025 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.5555, allocations: 4 kB / 1.025 GB, free: 12.15 MB / 0.6511 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.0005878/0.5561, allocations: 0.5222 MB / 1.026 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.5561, allocations: 12.03 kB / 1.026 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.5562, allocations: 19.81 kB / 1.026 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.5566, allocations: 258.5 kB / 1.026 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.5567, allocations: 0 / 1.026 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.5567, allocations: 12 kB / 1.026 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001172/0.5568, allocations: 49.62 kB / 1.026 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.5569, allocations: 83.03 kB / 1.026 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.557, allocations: 0 / 1.026 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.557, allocations: 3.984 kB / 1.026 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.557, allocations: 0 / 1.026 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005406/0.5575, allocations: 418.4 kB / 1.027 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.5577, allocations: 89.42 kB / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.071e-05/0.5578, allocations: 27.98 kB / 1.027 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.5578, allocations: 0 / 1.027 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.5579, allocations: 99.67 kB / 1.027 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.558, allocations: 0 / 1.027 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0002186/0.5582, allocations: 115.5 kB / 1.027 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.5582, allocations: 58.83 kB / 1.027 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.5583, allocations: 172.1 kB / 1.027 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.5584, allocations: 29.7 kB / 1.027 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.5584, allocations: 103.5 kB / 1.027 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.5585, allocations: 34.55 kB / 1.027 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-06/0.5585, allocations: 0 / 1.027 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.5586, allocations: 329.7 kB / 1.028 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.361e-05/0.5587, allocations: 30.38 kB / 1.028 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.5588, allocations: 122.5 kB / 1.028 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.676e-05/0.5589, allocations: 35.02 kB / 1.028 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5589, allocations: 0 / 1.028 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002054/0.5591, allocations: 133.1 kB / 1.028 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.876e-06/0.5591, allocations: 7.938 kB / 1.028 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5591, allocations: 4 kB / 1.028 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.5591, allocations: 3.938 kB / 1.028 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.5592, allocations: 15.12 kB / 1.028 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.5592, allocations: 12.11 kB / 1.028 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.5594, allocations: 23.89 kB / 1.028 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.5595, allocations: 4 kB / 1.028 GB, free: 9.402 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 8.399e-05/0.5595, allocations: 117.7 kB / 1.028 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.5596, allocations: 19.81 kB / 1.028 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.5596, allocations: 20.45 kB / 1.028 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5596, allocations: 3.906 kB / 1.028 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.5596, allocations: 0 / 1.028 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.5596, allocations: 8 kB / 1.028 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000548/0.5602, allocations: 447.1 kB / 1.029 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5602, allocations: 8.047 kB / 1.029 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.291e-05/0.5602, allocations: 7.969 kB / 1.029 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.5603, allocations: 4 kB / 1.029 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.5603, allocations: 6.781 kB / 1.029 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.5603, allocations: 3.938 kB / 1.029 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5603, allocations: 0 / 1.029 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001679/0.5605, allocations: 204.6 kB / 1.029 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.5605, allocations: 96.81 kB / 1.029 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.5605, allocations: 4 kB / 1.029 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.5607, allocations: 23.11 kB / 1.029 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.5607, allocations: 23.39 kB / 1.029 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.5608, allocations: 4 kB / 1.029 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.984e-05/0.5609, allocations: 130.7 kB / 1.029 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002704/0.5611, allocations: 47.98 kB / 1.029 GB, free: 8.262 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.0002697/0.5614, allocations: 177.8 kB / 1.029 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001698/0.5616, allocations: 84.94 kB / 1.029 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5616, allocations: 4 kB / 1.029 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.537e-05/0.5617, allocations: 50.23 kB / 1.029 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.562, allocations: 45.64 kB / 1.03 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.5624, allocations: 193.9 kB / 1.03 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.5627, allocations: 0.7425 MB / 1.03 GB, free: 7 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/0.5627, allocations: 0 / 1.03 GB, free: 7 MB / 0.6511 GB Notification: Performance of Templates: time 0.005817/0.5685, allocations: 3.25 MB / 1.034 GB, free: 3.812 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)