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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.949/1.949, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001217/0.001216, allocations: 173.3 kB / 487 MB, free: 5.367 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.244/1.244, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.0009575/0.0009572, allocations: 93.66 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4744/0.4754, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.7074, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5805/1.288, allocations: 151.4 MB / 1.353 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/1.288, allocations: 74.22 kB / 1.353 GB, free: 16.14 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.01873/1.307, allocations: 6.906 MB / 1.36 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/1.307, allocations: 9.125 kB / 1.36 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.775e-05/1.307, allocations: 17.81 kB / 1.36 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/1.308, allocations: 259.3 kB / 1.36 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/1.308, allocations: 6.062 kB / 1.36 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/1.308, allocations: 13.38 kB / 1.36 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001214/1.308, allocations: 35.05 kB / 1.36 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/1.308, allocations: 68.89 kB / 1.36 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/1.308, allocations: 0.625 kB / 1.36 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/1.308, allocations: 5.141 kB / 1.36 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.308, allocations: 1.844 kB / 1.36 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/1.309, allocations: 397.2 kB / 1.361 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/1.309, allocations: 67.83 kB / 1.361 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/1.309, allocations: 36.73 kB / 1.361 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/1.309, allocations: 192 / 1.361 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/1.309, allocations: 82.53 kB / 1.361 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/1.309, allocations: 0 / 1.361 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0001802/1.309, allocations: 89.92 kB / 1.361 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.701e-05/1.309, allocations: 52.11 kB / 1.361 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/1.309, allocations: 172.6 kB / 1.361 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/1.309, allocations: 29.7 kB / 1.361 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/1.309, allocations: 99.55 kB / 1.361 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/1.309, allocations: 20.91 kB / 1.361 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/1.309, allocations: 0 / 1.361 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.679e-05/1.309, allocations: 327.3 kB / 1.362 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/1.309, allocations: 22.94 kB / 1.362 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/1.309, allocations: 119.1 kB / 1.362 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.758e-05/1.31, allocations: 22.58 kB / 1.362 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/1.31, allocations: 4 kB / 1.362 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001652/1.31, allocations: 124.3 kB / 1.362 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/1.31, allocations: 7.938 kB / 1.362 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/1.31, allocations: 4 kB / 1.362 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/1.31, allocations: 0.5625 kB / 1.362 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/1.31, allocations: 13.59 kB / 1.362 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/1.31, allocations: 0.5156 kB / 1.362 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/1.31, allocations: 22.88 kB / 1.362 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/1.31, allocations: 12.41 kB / 1.362 GB, free: 13.62 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 6.135e-05/1.31, allocations: 122.1 kB / 1.362 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/1.31, allocations: 12.47 kB / 1.362 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/1.31, allocations: 18.56 kB / 1.362 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.31, allocations: 4.703 kB / 1.362 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.31, allocations: 0 / 1.362 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.31, allocations: 0.7969 kB / 1.362 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/1.311, allocations: 396.8 kB / 1.363 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.311, allocations: 0 / 1.363 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/1.311, allocations: 0.5625 kB / 1.363 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.311, allocations: 4 kB / 1.363 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/1.311, allocations: 9.016 kB / 1.363 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/1.311, allocations: 0 / 1.363 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.311, allocations: 0 / 1.363 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001164/1.311, allocations: 185.9 kB / 1.363 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001487/1.311, allocations: 0.56 MB / 1.363 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/1.311, allocations: 98.3 kB / 1.363 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/1.311, allocations: 8.5 kB / 1.363 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/1.311, allocations: 11.09 kB / 1.363 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/1.311, allocations: 9.766 kB / 1.363 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/1.311, allocations: 12.75 kB / 1.363 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.823e-05/1.311, allocations: 125.7 kB / 1.364 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008478/1.312, allocations: 40.56 kB / 1.364 GB, free: 12.1 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.0002676/1.312, allocations: 165.7 kB / 1.364 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000144/1.313, allocations: 73.2 kB / 1.364 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.313, allocations: 0 / 1.364 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.509e-05/1.313, allocations: 43.17 kB / 1.364 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/1.313, allocations: 38.14 kB / 1.364 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/1.313, allocations: 185.5 kB / 1.364 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/1.314, allocations: 0.7362 MB / 1.365 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of SimCode: time 2.51e-07/1.314, allocations: 0 / 1.365 GB, free: 10.93 MB / 0.8073 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1)