Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.663/1.663, allocations: 289.8 MB / 297 MB, free: 6.66 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.001157/0.001158, allocations: 179.9 kB / 366.3 MB, free: 1.941 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.606/1.606, allocations: 205.1 MB / 0.6256 GB, free: 5.781 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.0009997/0.0009999, allocations: 84.38 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2838/0.2849, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6152/0.9001, allocations: 116.3 MB / 0.9726 GB, free: 68.6 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.188/1.088, allocations: 142.1 MB / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003927/1.089, allocations: 87.33 kB / 1.112 GB, free: 6.184 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.02509/1.114, allocations: 8.664 MB / 1.12 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/1.114, allocations: 12 kB / 1.12 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/1.114, allocations: 15.81 kB / 1.12 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000729/1.115, allocations: 254.6 kB / 1.12 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/1.115, allocations: 4 kB / 1.12 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/1.115, allocations: 16 kB / 1.12 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001632/1.115, allocations: 48.48 kB / 1.12 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/1.115, allocations: 82.56 kB / 1.12 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/1.115, allocations: 0 / 1.12 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/1.115, allocations: 4 kB / 1.12 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/1.115, allocations: 4 kB / 1.12 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008517/1.116, allocations: 412.9 kB / 1.121 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/1.116, allocations: 87.66 kB / 1.121 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.258e-05/1.116, allocations: 28.86 kB / 1.121 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/1.117, allocations: 11.98 kB / 1.121 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/1.117, allocations: 87.53 kB / 1.121 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 4.328e-06/1.117, allocations: 4 kB / 1.121 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0002982/1.117, allocations: 117.3 kB / 1.121 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/1.117, allocations: 59.39 kB / 1.121 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/1.117, allocations: 171.3 kB / 1.121 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/1.117, allocations: 33.7 kB / 1.121 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/1.117, allocations: 108.4 kB / 1.121 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/1.117, allocations: 31.56 kB / 1.122 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/1.117, allocations: 0 / 1.122 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.118, allocations: 330.8 kB / 1.122 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/1.118, allocations: 28.38 kB / 1.122 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/1.118, allocations: 116.2 kB / 1.122 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.375e-05/1.118, allocations: 27.98 kB / 1.122 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.118, allocations: 0 / 1.122 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002214/1.118, allocations: 138.6 kB / 1.122 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/1.118, allocations: 4 kB / 1.122 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.118, allocations: 0 / 1.122 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.118, allocations: 4 kB / 1.122 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-05/1.118, allocations: 23.92 kB / 1.122 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/1.118, allocations: 0 / 1.122 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/1.119, allocations: 28.02 kB / 1.122 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/1.119, allocations: 8 kB / 1.122 GB, free: 11.01 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: 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 0.0001183/1.119, allocations: 119.2 kB / 1.122 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/1.119, allocations: 19.72 kB / 1.122 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/1.119, allocations: 17.59 kB / 1.122 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/1.119, allocations: 4 kB / 1.122 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.119, allocations: 0 / 1.122 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.119, allocations: 7.984 kB / 1.122 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007316/1.12, allocations: 456.5 kB / 1.123 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.12, allocations: 0 / 1.123 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/1.12, allocations: 4 kB / 1.123 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/1.12, allocations: 0 / 1.123 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/1.12, allocations: 0 / 1.123 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/1.12, allocations: 12 kB / 1.123 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.12, allocations: 0.8438 kB / 1.123 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002058/1.12, allocations: 213.7 kB / 1.123 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003349/1.12, allocations: 0.5838 MB / 1.124 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/1.12, allocations: 96.84 kB / 1.124 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/1.12, allocations: 8 kB / 1.124 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/1.12, allocations: 15.98 kB / 1.124 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/1.121, allocations: 23.95 kB / 1.124 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/1.121, allocations: 4 kB / 1.124 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001108/1.121, allocations: 140.3 kB / 1.124 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009198/1.122, allocations: 45.11 kB / 1.124 GB, free: 9.172 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: 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.0003638/1.122, allocations: 173.6 kB / 1.124 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002165/1.122, allocations: 83.94 kB / 1.124 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/1.122, allocations: 0 / 1.124 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.588e-05/1.122, allocations: 51.92 kB / 1.124 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/1.123, allocations: 48 kB / 1.124 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/1.123, allocations: 191.7 kB / 1.124 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/1.124, allocations: 0.7503 MB / 1.125 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of SimCode: time 3.11e-07/1.124, allocations: 0 / 1.125 GB, free: 7.855 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)