Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [: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.967/1.967, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001282/0.001283, allocations: 184.4 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.339/1.339, allocations: 221.3 MB / 0.7819 GB, free: 1.41 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.00106/0.00106, allocations: 94.06 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.76e-06/5.79e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2579, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6262/0.8842, allocations: 151.4 MB / 1.353 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.8845, allocations: 72.47 kB / 1.353 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01942/0.9039, allocations: 6.405 MB / 1.359 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.9039, allocations: 7.125 kB / 1.359 GB, free: 15.57 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006207/0.9046, allocations: 0.4917 MB / 1.36 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.9046, allocations: 13.52 kB / 1.36 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.623e-05/0.9047, allocations: 17.94 kB / 1.36 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.9052, allocations: 253.1 kB / 1.36 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.9052, allocations: 2.719 kB / 1.36 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.975e-05/0.9053, allocations: 12.7 kB / 1.36 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001305/0.9054, allocations: 37.06 kB / 1.36 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.9056, allocations: 70.66 kB / 1.36 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.9056, allocations: 0 / 1.36 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.9056, allocations: 1.656 kB / 1.36 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.9056, allocations: 5.5 kB / 1.36 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005871/0.9062, allocations: 400.9 kB / 1.361 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.847e-05/0.9063, allocations: 58.8 kB / 1.361 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.9064, allocations: 24.41 kB / 1.361 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.9064, allocations: 4.75 kB / 1.361 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.3e-05/0.9065, allocations: 83.14 kB / 1.361 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.9065, allocations: 4 kB / 1.361 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0001821/0.9067, allocations: 87.95 kB / 1.361 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.9067, allocations: 56.2 kB / 1.361 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.9068, allocations: 168.1 kB / 1.361 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.9069, allocations: 29.64 kB / 1.361 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.9069, allocations: 104 kB / 1.361 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.9069, allocations: 21.45 kB / 1.361 GB, free: 14 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.907, allocations: 0 / 1.361 GB, free: 14 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.079e-05/0.907, allocations: 328.2 kB / 1.362 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.9071, allocations: 31.31 kB / 1.362 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.9072, allocations: 106 kB / 1.362 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.26e-05/0.9072, allocations: 36.61 kB / 1.362 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.9073, allocations: 3.938 kB / 1.362 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001627/0.9074, allocations: 111.5 kB / 1.362 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.9074, allocations: 4 kB / 1.362 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9074, allocations: 0.6562 kB / 1.362 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.9075, allocations: 7.984 kB / 1.362 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.014e-05/0.9076, allocations: 25.06 kB / 1.362 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.9076, allocations: 0 / 1.362 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.9077, allocations: 27.39 kB / 1.362 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.9078, allocations: 4 kB / 1.362 GB, free: 13.37 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: 15 ($whenCondition3,$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,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.545e-05/0.9079, allocations: 127.9 kB / 1.362 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.9079, allocations: 12.33 kB / 1.362 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.9079, allocations: 19.06 kB / 1.362 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.9079, allocations: 4 kB / 1.362 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.9079, allocations: 4 kB / 1.362 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.908, allocations: 0.5156 kB / 1.362 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.9083, allocations: 387.8 kB / 1.362 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.9083, allocations: 8.516 kB / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.9084, allocations: 4.734 kB / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9084, allocations: 0 / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.9084, allocations: 4.609 kB / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.9084, allocations: 0.5156 kB / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.9084, allocations: 0 / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001229/0.9085, allocations: 188.6 kB / 1.363 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.9086, allocations: 94.97 kB / 1.363 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.9086, allocations: 8.422 kB / 1.363 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.9087, allocations: 14.58 kB / 1.363 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.9088, allocations: 10.19 kB / 1.363 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.9088, allocations: 5.453 kB / 1.363 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.943e-05/0.9089, allocations: 128.2 kB / 1.363 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000292/0.9092, allocations: 41.25 kB / 1.363 GB, free: 12.4 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: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002816/0.9095, allocations: 178.5 kB / 1.363 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.9096, allocations: 64.39 kB / 1.363 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9096, allocations: 0 / 1.363 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.46e-05/0.9097, allocations: 36.53 kB / 1.363 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.91, allocations: 39.86 kB / 1.363 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004214/0.9104, allocations: 182.5 kB / 1.363 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.9106, allocations: 0.7367 MB / 1.364 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of SimCode: time 2.81e-07/0.9106, allocations: 0 / 1.364 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of Templates: time 0.005501/0.9161, allocations: 2.885 MB / 1.367 GB, free: 8.734 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1)