Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.944/1.944, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.0013/0.0013, allocations: 173.3 kB / 487 MB, free: 5.328 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.284/1.284, allocations: 221.3 MB / 0.7819 GB, free: 1.285 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.001005/0.001005, allocations: 95.02 kB / 0.9213 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.192e-06/6.222e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2337, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6501/0.8838, allocations: 152.4 MB / 1.354 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.8841, allocations: 80.44 kB / 1.354 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02309/0.9072, allocations: 8.206 MB / 1.362 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.9073, allocations: 4 kB / 1.362 GB, free: 13.75 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.0005626/0.9078, allocations: 0.5275 MB / 1.363 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.9079, allocations: 9.031 kB / 1.363 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.412e-05/0.9079, allocations: 23.8 kB / 1.363 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/0.9084, allocations: 269.6 kB / 1.363 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.9084, allocations: 0 / 1.363 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.9085, allocations: 12 kB / 1.363 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001279/0.9086, allocations: 49.38 kB / 1.363 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.9087, allocations: 85.33 kB / 1.363 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.9088, allocations: 4 kB / 1.363 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.9088, allocations: 0 / 1.363 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.9088, allocations: 0 / 1.363 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.9093, allocations: 416.5 kB / 1.363 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.9095, allocations: 84.06 kB / 1.364 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.9096, allocations: 32.23 kB / 1.364 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.9096, allocations: 7.938 kB / 1.364 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.9097, allocations: 93.88 kB / 1.364 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.9097, allocations: 0 / 1.364 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002112/0.9099, allocations: 117.6 kB / 1.364 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.91, allocations: 51.41 kB / 1.364 GB, free: 12 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.9101, allocations: 166.1 kB / 1.364 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.9101, allocations: 29.7 kB / 1.364 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.9102, allocations: 118.2 kB / 1.364 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.9102, allocations: 29.62 kB / 1.364 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.9102, allocations: 0 / 1.364 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.9103, allocations: 328.8 kB / 1.365 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.118e-05/0.9103, allocations: 32.62 kB / 1.365 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.9105, allocations: 114.9 kB / 1.365 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.161e-05/0.9105, allocations: 33.3 kB / 1.365 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9105, allocations: 0 / 1.365 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001746/0.9107, allocations: 132 kB / 1.365 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.9107, allocations: 4 kB / 1.365 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.9107, allocations: 8.125 kB / 1.365 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.9107, allocations: 0 / 1.365 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.916e-05/0.9108, allocations: 19.05 kB / 1.365 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.9108, allocations: 4 kB / 1.365 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.911, allocations: 27.83 kB / 1.365 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.9111, allocations: 12.16 kB / 1.365 GB, free: 11 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.16e-05/0.9111, allocations: 117.4 kB / 1.365 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.9112, allocations: 23.66 kB / 1.365 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.9112, allocations: 18.22 kB / 1.365 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9112, allocations: 0 / 1.365 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.9112, allocations: 0 / 1.365 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.9112, allocations: 7.984 kB / 1.365 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.9117, allocations: 458.9 kB / 1.365 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.9118, allocations: 4.047 kB / 1.365 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.9118, allocations: 11.92 kB / 1.365 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.9118, allocations: 4 kB / 1.365 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.9118, allocations: 0 / 1.365 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9118, allocations: 0 / 1.365 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9118, allocations: 3.984 kB / 1.365 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001418/0.912, allocations: 214.5 kB / 1.366 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.912, allocations: 88.92 kB / 1.366 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.912, allocations: 3.984 kB / 1.366 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.9122, allocations: 19.98 kB / 1.366 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/0.9122, allocations: 23.72 kB / 1.366 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.9123, allocations: 7.688 kB / 1.366 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.053e-05/0.9124, allocations: 132.9 kB / 1.366 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002922/0.9126, allocations: 43.94 kB / 1.366 GB, free: 9.863 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.0002958/0.913, allocations: 172 kB / 1.366 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001783/0.9131, allocations: 95.16 kB / 1.366 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.9131, allocations: 0 / 1.366 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.065e-05/0.9132, allocations: 51.19 kB / 1.366 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.9135, allocations: 48.58 kB / 1.366 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.9139, allocations: 184.5 kB / 1.367 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.9142, allocations: 0.7499 MB / 1.367 GB, free: 24.61 MB / 0.823 GB Notification: Performance of SimCode: time 7.42e-07/0.9142, allocations: 0 / 1.367 GB, free: 24.61 MB / 0.823 GB Notification: Performance of Templates: time 0.005737/0.92, allocations: 3.247 MB / 1.37 GB, free: 21.41 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)