Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.584/1.584, allocations: 289.8 MB / 297.1 MB, free: 6.641 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: 185.2 kB / 366.3 MB, free: 1.953 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.334/1.334, allocations: 205.1 MB / 0.6256 GB, free: 5.863 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 91.31 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2847/0.2858, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6854/0.9712, allocations: 116.3 MB / 0.9726 GB, free: 68.47 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.177/1.148, allocations: 141 MB / 1.11 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/1.148, allocations: 76.3 kB / 1.11 GB, free: 7.352 MB / 0.7136 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.01926/1.168, allocations: 6.86 MB / 1.117 GB, free: 448 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.168, allocations: 8 kB / 1.117 GB, free: 440 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.917e-05/1.168, allocations: 23.8 kB / 1.117 GB, free: 416 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006162/1.169, allocations: 250.7 kB / 1.117 GB, free: 124 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/1.169, allocations: 7.906 kB / 1.117 GB, free: 116 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/1.169, allocations: 8 kB / 1.117 GB, free: 108 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001321/1.169, allocations: 36 kB / 1.117 GB, free: 72 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/1.169, allocations: 73.61 kB / 1.117 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/1.169, allocations: 2.156 kB / 1.118 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/1.169, allocations: 0 / 1.118 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/1.169, allocations: 3.984 kB / 1.118 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006976/1.17, allocations: 401.1 kB / 1.118 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/1.17, allocations: 62.5 kB / 1.118 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.896e-05/1.17, allocations: 28.86 kB / 1.118 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/1.17, allocations: 0 / 1.118 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/1.17, allocations: 75.39 kB / 1.118 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.552e-06/1.17, allocations: 0 / 1.118 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0002454/1.17, allocations: 99.72 kB / 1.118 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/1.17, allocations: 55.59 kB / 1.118 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/1.171, allocations: 171 kB / 1.118 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/1.171, allocations: 29.7 kB / 1.118 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/1.171, allocations: 100 kB / 1.118 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/1.171, allocations: 23.7 kB / 1.119 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/1.171, allocations: 4 kB / 1.119 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.171, allocations: 322.8 kB / 1.119 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/1.171, allocations: 20 kB / 1.119 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/1.171, allocations: 111.6 kB / 1.119 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.866e-05/1.171, allocations: 35.02 kB / 1.119 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.171, allocations: 4 kB / 1.119 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001981/1.171, allocations: 111 kB / 1.119 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/1.171, allocations: 4 kB / 1.119 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/1.171, allocations: 4 kB / 1.119 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/1.171, allocations: 4 kB / 1.119 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.855e-05/1.171, allocations: 19.92 kB / 1.119 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/1.172, allocations: 0 / 1.119 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/1.172, allocations: 23.97 kB / 1.119 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/1.172, allocations: 11.98 kB / 1.119 GB, free: 14.16 MB / 0.7292 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.0001026/1.172, allocations: 109 kB / 1.119 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/1.172, allocations: 15.81 kB / 1.119 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/1.172, allocations: 13.41 kB / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.172, allocations: 4 kB / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/1.172, allocations: 0 / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/1.172, allocations: 7.984 kB / 1.119 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/1.172, allocations: 390.8 kB / 1.12 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.172, allocations: 0 / 1.12 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.367e-05/1.173, allocations: 11.92 kB / 1.12 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.173, allocations: 4.844 kB / 1.12 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/1.173, allocations: 4 kB / 1.12 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.173, allocations: 0 / 1.12 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.173, allocations: 0 / 1.12 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002392/1.173, allocations: 187.3 kB / 1.12 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002988/1.173, allocations: 0.5637 MB / 1.12 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/1.173, allocations: 88.92 kB / 1.12 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/1.173, allocations: 0 / 1.12 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/1.173, allocations: 15.92 kB / 1.121 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/1.173, allocations: 16.72 kB / 1.121 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/1.173, allocations: 4 kB / 1.121 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001003/1.174, allocations: 136.3 kB / 1.121 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009394/1.174, allocations: 51.83 kB / 1.121 GB, free: 12.46 MB / 0.7292 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.0003777/1.175, allocations: 160.6 kB / 1.121 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001983/1.175, allocations: 67.94 kB / 1.121 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.175, allocations: 0 / 1.121 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.948e-05/1.175, allocations: 39.92 kB / 1.121 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/1.176, allocations: 41.52 kB / 1.121 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/1.176, allocations: 179.8 kB / 1.121 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/1.176, allocations: 0.7432 MB / 1.122 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/1.176, allocations: 0 / 1.122 GB, free: 11.21 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1)