Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [: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 8.1.4-maint.8.1.x/package.mo): time 1.593/1.593, allocations: 289.8 MB / 297.1 MB, free: 8.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 173.3 kB / 366.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.199/1.199, allocations: 205.1 MB / 0.6256 GB, free: 11.39 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008658/0.0008657, allocations: 85.22 kB / 0.7396 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.442e-06/6.543e-06, allocations: 0 / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1764, allocations: 116.3 MB / 0.9726 GB, free: 31.75 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5655/0.742, allocations: 142.2 MB / 1.111 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.7423, allocations: 78.56 kB / 1.111 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.03483/0.7771, allocations: 12.91 MB / 1.124 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.7772, allocations: 3.5 kB / 1.124 GB, free: 14.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000634/0.7778, allocations: 0.5272 MB / 1.125 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.7779, allocations: 9.062 kB / 1.125 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.463e-05/0.7779, allocations: 19.22 kB / 1.125 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.7784, allocations: 263.6 kB / 1.125 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.7784, allocations: 2.844 kB / 1.125 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.7785, allocations: 17.8 kB / 1.125 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000132/0.7786, allocations: 45.98 kB / 1.125 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.7788, allocations: 105.3 kB / 1.125 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.7788, allocations: 0 / 1.125 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.7788, allocations: 1.625 kB / 1.125 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.7788, allocations: 5.031 kB / 1.125 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006291/0.7795, allocations: 0.4911 MB / 1.126 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.7796, allocations: 96.48 kB / 1.126 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.7797, allocations: 34.19 kB / 1.126 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.7797, allocations: 1.188 kB / 1.126 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.7798, allocations: 119.5 kB / 1.126 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.7799, allocations: 4 kB / 1.126 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0002314/0.7801, allocations: 107.9 kB / 1.126 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.7801, allocations: 80.33 kB / 1.126 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.7803, allocations: 181.9 kB / 1.126 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.7803, allocations: 28.3 kB / 1.126 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.7804, allocations: 99.97 kB / 1.126 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.7804, allocations: 39.67 kB / 1.126 GB, free: 13 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.7804, allocations: 0 / 1.126 GB, free: 13 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.262e-05/0.7805, allocations: 329.7 kB / 1.127 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.7805, allocations: 28.5 kB / 1.127 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.7807, allocations: 127 kB / 1.127 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.505e-05/0.7808, allocations: 39.27 kB / 1.127 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7808, allocations: 1.219 kB / 1.127 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002181/0.781, allocations: 142.9 kB / 1.127 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.781, allocations: 5.406 kB / 1.127 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.781, allocations: 1.438 kB / 1.127 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.7811, allocations: 6.844 kB / 1.127 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.827e-05/0.7812, allocations: 19.89 kB / 1.127 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.7812, allocations: 6.594 kB / 1.127 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.7814, allocations: 24.89 kB / 1.127 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.7814, allocations: 6.031 kB / 1.127 GB, free: 12.48 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,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,plotConfiguration.activate_internal) * 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.13e-05/0.7815, allocations: 124.9 kB / 1.127 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.7815, allocations: 15.84 kB / 1.127 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.7816, allocations: 17.62 kB / 1.127 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.7816, allocations: 4.719 kB / 1.127 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7816, allocations: 1.094 kB / 1.127 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.7816, allocations: 5.203 kB / 1.127 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/0.7821, allocations: 418.2 kB / 1.128 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.7821, allocations: 1.469 kB / 1.128 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/0.7821, allocations: 6.422 kB / 1.128 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7822, allocations: 5.125 kB / 1.128 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.7822, allocations: 1.594 kB / 1.128 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7822, allocations: 1.312 kB / 1.128 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.7822, allocations: 8.875 kB / 1.128 GB, free: 12 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001585/0.7823, allocations: 215.8 kB / 1.128 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.7824, allocations: 101.8 kB / 1.128 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.7824, allocations: 5.156 kB / 1.128 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.7826, allocations: 16.48 kB / 1.128 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.7826, allocations: 18.81 kB / 1.128 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.7827, allocations: 9.703 kB / 1.128 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.525e-05/0.7828, allocations: 138.4 kB / 1.128 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000309/0.7831, allocations: 46.22 kB / 1.128 GB, free: 11.61 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0003226/0.7834, allocations: 176.9 kB / 1.128 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001959/0.7837, allocations: 86.39 kB / 1.128 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7837, allocations: 0 / 1.128 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.7837, allocations: 43.72 kB / 1.128 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.7841, allocations: 61.55 kB / 1.128 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.7845, allocations: 197.9 kB / 1.129 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/0.7849, allocations: 0.7445 MB / 1.129 GB, free: 26.59 MB / 0.698 GB Notification: Performance of SimCode: time 2.9e-07/0.7849, allocations: 7.938 kB / 1.129 GB, free: 26.58 MB / 0.698 GB Notification: Performance of Templates: time 0.006629/0.7915, allocations: 3.197 MB / 1.132 GB, free: 25 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1)