Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,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.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,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.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 7.0.3-maint.7.0.x/package.mo): time 1.192/1.192, allocations: 249.4 MB / 256.7 MB, free: 6.902 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.001072/0.001072, allocations: 185.2 kB / 316 MB, free: 3.531 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.066/1.066, allocations: 205.2 MB / 0.5667 GB, free: 15.6 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.0007812/0.0007813, allocations: 83.41 kB / 0.671 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.4e-06/5.43e-06, allocations: 0 / 0.7807 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1496, allocations: 106.3 MB / 0.8846 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4527/0.6023, allocations: 135.9 MB / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001834/0.6025, allocations: 76.83 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01947/0.622, allocations: 7.529 MB / 1.025 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.6221, allocations: 11.94 kB / 1.025 GB, free: 12.34 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.0006296/0.6227, allocations: 0.5212 MB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.6227, allocations: 8.031 kB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.439e-05/0.6228, allocations: 23.8 kB / 1.025 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.6233, allocations: 258.5 kB / 1.025 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.6233, allocations: 4 kB / 1.025 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.6233, allocations: 8 kB / 1.025 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001182/0.6234, allocations: 53.06 kB / 1.026 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.6236, allocations: 78.23 kB / 1.026 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.6236, allocations: 0 / 1.026 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.6236, allocations: 4 kB / 1.026 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.6236, allocations: 3.938 kB / 1.026 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.6242, allocations: 413 kB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.6244, allocations: 85.88 kB / 1.026 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.6245, allocations: 39.77 kB / 1.026 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.6245, allocations: 3.375 kB / 1.026 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.6246, allocations: 96.91 kB / 1.026 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.6247, allocations: 0 / 1.026 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0002309/0.6249, allocations: 113 kB / 1.026 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.6249, allocations: 55.41 kB / 1.026 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.6251, allocations: 173.3 kB / 1.027 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.6251, allocations: 30.64 kB / 1.027 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.162e-05/0.6252, allocations: 107.5 kB / 1.027 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.6252, allocations: 34.3 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.6252, allocations: 0 / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.6254, allocations: 330.4 kB / 1.027 GB, free: 9.945 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-05/0.6254, allocations: 26.88 kB / 1.027 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.6256, allocations: 115.5 kB / 1.027 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.923e-05/0.6256, allocations: 41.02 kB / 1.027 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6256, allocations: 0 / 1.027 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000201/0.6258, allocations: 140.1 kB / 1.027 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.6259, allocations: 4 kB / 1.027 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.6259, allocations: 0 / 1.027 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.6259, allocations: 4 kB / 1.027 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.626, allocations: 19.92 kB / 1.027 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.626, allocations: 0 / 1.027 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.6262, allocations: 35.92 kB / 1.027 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.6262, allocations: 7.75 kB / 1.027 GB, free: 9.586 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 9.593e-05/0.6263, allocations: 118.7 kB / 1.028 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.6264, allocations: 15.81 kB / 1.028 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.6264, allocations: 17.22 kB / 1.028 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.6264, allocations: 0 / 1.028 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6264, allocations: 3.906 kB / 1.028 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.6265, allocations: 3.984 kB / 1.028 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/0.6271, allocations: 460.2 kB / 1.028 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6271, allocations: 0 / 1.028 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.6271, allocations: 4 kB / 1.028 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6271, allocations: 0 / 1.028 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.6271, allocations: 11.78 kB / 1.028 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6271, allocations: 0 / 1.028 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.6271, allocations: 3.984 kB / 1.028 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001831/0.6273, allocations: 202.8 kB / 1.028 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.6274, allocations: 104.6 kB / 1.028 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.6274, allocations: 3.984 kB / 1.028 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.6276, allocations: 19.98 kB / 1.028 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.6276, allocations: 19.22 kB / 1.028 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.6277, allocations: 8 kB / 1.028 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.995e-05/0.6278, allocations: 136.2 kB / 1.028 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002752/0.628, allocations: 43.94 kB / 1.029 GB, free: 8.441 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.0002902/0.6283, allocations: 163.5 kB / 1.029 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.6285, allocations: 96.28 kB / 1.029 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6285, allocations: 4.25 kB / 1.029 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.6286, allocations: 49.81 kB / 1.029 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.629, allocations: 48.11 kB / 1.029 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/0.6295, allocations: 196.6 kB / 1.029 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/0.6298, allocations: 0.7541 MB / 1.03 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.6298, allocations: 0 / 1.03 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of Templates: time 0.006027/0.6359, allocations: 3.244 MB / 1.033 GB, free: 3.965 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)