Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) [: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.25/1.25, allocations: 249.4 MB / 256.7 MB, free: 7.074 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.000989/0.000989, allocations: 181.2 kB / 316 MB, free: 3.527 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.184/1.184, allocations: 205.2 MB / 0.5667 GB, free: 15.68 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.0008076/0.0008076, allocations: 90.2 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3437/0.3445, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.503, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5091/1.012, allocations: 134.8 MB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00017/1.012, allocations: 74.2 kB / 1.016 GB, free: 3.73 MB / 0.6355 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.01822/1.031, allocations: 6.88 MB / 1.023 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.031, allocations: 8 kB / 1.023 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/1.031, allocations: 19.81 kB / 1.023 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005199/1.031, allocations: 257.8 kB / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/1.031, allocations: 0 / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/1.031, allocations: 16 kB / 1.023 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000115/1.031, allocations: 34.17 kB / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/1.032, allocations: 70.55 kB / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.032, allocations: 3.938 kB / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/1.032, allocations: 0 / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/1.032, allocations: 4 kB / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/1.032, allocations: 399 kB / 1.024 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/1.032, allocations: 56.27 kB / 1.024 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.935e-05/1.033, allocations: 28.3 kB / 1.024 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/1.033, allocations: 3.984 kB / 1.024 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/1.033, allocations: 88.92 kB / 1.024 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/1.033, allocations: 0 / 1.024 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0002324/1.033, allocations: 82.88 kB / 1.024 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/1.033, allocations: 55.41 kB / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/1.033, allocations: 162.4 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/1.033, allocations: 37.64 kB / 1.024 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.398e-05/1.033, allocations: 103.4 kB / 1.024 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/1.033, allocations: 26.33 kB / 1.024 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/1.033, allocations: 0 / 1.024 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.033, allocations: 326.5 kB / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.31e-05/1.034, allocations: 18.81 kB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/1.034, allocations: 114.6 kB / 1.025 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.034e-05/1.034, allocations: 27.83 kB / 1.025 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.034, allocations: 0 / 1.025 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001777/1.034, allocations: 113.1 kB / 1.025 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/1.034, allocations: 8.125 kB / 1.025 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.034, allocations: 4 kB / 1.025 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/1.034, allocations: 7.938 kB / 1.025 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/1.034, allocations: 11.98 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/1.034, allocations: 11.84 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/1.034, allocations: 19.92 kB / 1.025 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/1.034, allocations: 6.75 kB / 1.025 GB, free: 11.89 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: 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 0.0001024/1.034, allocations: 112.9 kB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/1.034, allocations: 19.72 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.54e-05/1.035, allocations: 20.02 kB / 1.025 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/1.035, allocations: 0 / 1.025 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.035, allocations: 0 / 1.025 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.035, allocations: 4 kB / 1.025 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/1.035, allocations: 395.5 kB / 1.026 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.035, allocations: 0 / 1.026 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.882e-05/1.035, allocations: 4 kB / 1.026 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.035, allocations: 0 / 1.026 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/1.035, allocations: 0 / 1.026 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/1.035, allocations: 7.906 kB / 1.026 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.035, allocations: 4.047 kB / 1.026 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002023/1.035, allocations: 187.7 kB / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002546/1.036, allocations: 0.5605 MB / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/1.036, allocations: 92.91 kB / 1.026 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/1.036, allocations: 0 / 1.026 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.937e-05/1.036, allocations: 19.22 kB / 1.026 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/1.036, allocations: 11.97 kB / 1.026 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/1.036, allocations: 8 kB / 1.026 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.358e-05/1.036, allocations: 129.5 kB / 1.027 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008948/1.037, allocations: 46.75 kB / 1.027 GB, free: 10.28 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: 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.0003174/1.037, allocations: 160.8 kB / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001571/1.037, allocations: 76.5 kB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/1.037, allocations: 0 / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.955e-05/1.037, allocations: 35.23 kB / 1.027 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/1.038, allocations: 34.81 kB / 1.027 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/1.038, allocations: 185.1 kB / 1.027 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/1.039, allocations: 0.7396 MB / 1.028 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/1.039, allocations: 0 / 1.028 GB, free: 9.062 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1)