Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [: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 9.1.1-maint.9.1.x/package.mo): time 1.929/1.929, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 181.3 kB / 487 MB, free: 5.355 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 221.3 MB / 0.7819 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009253/0.0009254, allocations: 105.8 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.891e-06/6.202e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2315, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6831/0.9147, allocations: 152.4 MB / 1.354 GB, free: 16.01 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.915, allocations: 82.12 kB / 1.354 GB, free: 16 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02263/0.9377, allocations: 7.606 MB / 1.361 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.9377, allocations: 4 kB / 1.361 GB, free: 14.73 MB / 0.8073 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.0006276/0.9383, allocations: 0.5228 MB / 1.362 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.9384, allocations: 9.031 kB / 1.362 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.174e-05/0.9385, allocations: 20.33 kB / 1.362 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/0.939, allocations: 261.5 kB / 1.362 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.939, allocations: 4.656 kB / 1.362 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.9391, allocations: 12.94 kB / 1.362 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000133/0.9392, allocations: 49.03 kB / 1.362 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.9393, allocations: 90.05 kB / 1.362 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.9394, allocations: 0 / 1.362 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.9394, allocations: 4.516 kB / 1.362 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.9394, allocations: 0 / 1.362 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.94, allocations: 414.5 kB / 1.363 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.9402, allocations: 83.06 kB / 1.363 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.419e-05/0.9402, allocations: 47.59 kB / 1.363 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.9403, allocations: 0 / 1.363 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.9404, allocations: 86.89 kB / 1.363 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.9404, allocations: 0 / 1.363 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002249/0.9406, allocations: 114.7 kB / 1.363 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.9406, allocations: 58.61 kB / 1.363 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.9408, allocations: 176.5 kB / 1.363 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.9408, allocations: 33.7 kB / 1.363 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.9409, allocations: 104.2 kB / 1.364 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.9409, allocations: 31.45 kB / 1.364 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-06/0.9409, allocations: 0 / 1.364 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.807e-05/0.941, allocations: 326.5 kB / 1.364 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.657e-05/0.9411, allocations: 25.69 kB / 1.364 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.9412, allocations: 122.3 kB / 1.364 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.542e-05/0.9413, allocations: 37.11 kB / 1.364 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.9413, allocations: 0 / 1.364 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001844/0.9415, allocations: 130.2 kB / 1.364 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.9415, allocations: 8.125 kB / 1.364 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.9415, allocations: 0 / 1.364 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.9415, allocations: 4 kB / 1.364 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.849e-05/0.9416, allocations: 15.94 kB / 1.364 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.9416, allocations: 4 kB / 1.364 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.9418, allocations: 36.03 kB / 1.364 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.9418, allocations: 6.625 kB / 1.364 GB, free: 12.06 MB / 0.8073 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 7.557e-05/0.9419, allocations: 122 kB / 1.364 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.9419, allocations: 23.72 kB / 1.364 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/0.942, allocations: 23.42 kB / 1.364 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.942, allocations: 0 / 1.364 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.942, allocations: 0 / 1.364 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.942, allocations: 0 / 1.364 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005297/0.9426, allocations: 460.3 kB / 1.365 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9426, allocations: 0 / 1.365 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.9426, allocations: 7.984 kB / 1.365 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.9426, allocations: 0 / 1.365 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.9426, allocations: 4 kB / 1.365 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.9426, allocations: 0 / 1.365 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.9426, allocations: 0 / 1.365 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001534/0.9428, allocations: 220.9 kB / 1.365 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.9428, allocations: 96.47 kB / 1.365 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.9429, allocations: 0 / 1.365 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.943, allocations: 19.98 kB / 1.365 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.9431, allocations: 22.91 kB / 1.365 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.9431, allocations: 11.98 kB / 1.365 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.79e-05/0.9432, allocations: 125.6 kB / 1.365 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003038/0.9435, allocations: 50.95 kB / 1.365 GB, free: 10.91 MB / 0.8073 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.0002977/0.9438, allocations: 168.8 kB / 1.366 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.944, allocations: 93.67 kB / 1.366 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.944, allocations: 4.25 kB / 1.366 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.198e-05/0.9441, allocations: 42.56 kB / 1.366 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.9444, allocations: 50.98 kB / 1.366 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004895/0.9449, allocations: 214.4 kB / 1.366 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.9452, allocations: 0.7464 MB / 1.367 GB, free: 25.63 MB / 0.823 GB Notification: Performance of SimCode: time 3.91e-07/0.9452, allocations: 3.938 kB / 1.367 GB, free: 25.63 MB / 0.823 GB Notification: Performance of Templates: time 0.006017/0.9513, allocations: 3.247 MB / 1.37 GB, free: 22.43 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)