Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.6/1.6, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.001728/0.001728, allocations: 177.3 kB / 366.3 MB, free: 1.949 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.679/1.679, 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.0009926/0.0009928, allocations: 87.53 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3014/0.3025, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7712/1.074, allocations: 116.3 MB / 0.9726 GB, free: 68.68 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/1.27, allocations: 142.2 MB / 1.111 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/1.27, allocations: 84.42 kB / 1.112 GB, free: 6.16 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.03475/1.305, allocations: 13.45 MB / 1.125 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/1.305, allocations: 12 kB / 1.125 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.118e-05/1.305, allocations: 19.81 kB / 1.125 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/1.306, allocations: 266.6 kB / 1.125 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/1.306, allocations: 7.906 kB / 1.125 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/1.306, allocations: 11.98 kB / 1.125 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001426/1.306, allocations: 43.95 kB / 1.125 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/1.306, allocations: 106.3 kB / 1.125 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.306, allocations: 3.938 kB / 1.125 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/1.306, allocations: 0.5625 kB / 1.125 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.306, allocations: 0 / 1.125 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008384/1.307, allocations: 0.4934 MB / 1.126 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/1.307, allocations: 89.09 kB / 1.126 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.926e-05/1.307, allocations: 33.78 kB / 1.126 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/1.307, allocations: 4.828 kB / 1.126 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/1.307, allocations: 117.2 kB / 1.126 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/1.307, allocations: 0 / 1.126 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0003077/1.308, allocations: 107.1 kB / 1.126 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/1.308, allocations: 81.11 kB / 1.126 GB, free: 7.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/1.308, allocations: 177.4 kB / 1.126 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/1.308, allocations: 37.73 kB / 1.126 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/1.308, allocations: 100.5 kB / 1.126 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/1.308, allocations: 31.55 kB / 1.126 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/1.308, allocations: 5.719 kB / 1.126 GB, free: 6.727 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.308, allocations: 326.8 kB / 1.127 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.684e-05/1.308, allocations: 28.38 kB / 1.127 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/1.309, allocations: 127.2 kB / 1.127 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.752e-05/1.309, allocations: 35.98 kB / 1.127 GB, free: 6.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.309, allocations: 3.938 kB / 1.127 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002482/1.309, allocations: 137 kB / 1.127 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/1.309, allocations: 4 kB / 1.127 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.309, allocations: 4 kB / 1.127 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/1.309, allocations: 0 / 1.127 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.443e-05/1.309, allocations: 23.92 kB / 1.127 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/1.309, allocations: 4 kB / 1.127 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/1.309, allocations: 28.05 kB / 1.127 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/1.309, allocations: 11.94 kB / 1.127 GB, free: 5.965 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,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,plotConfiguration.activate_internal) * 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.0001219/1.31, allocations: 126.7 kB / 1.127 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/1.31, allocations: 19.72 kB / 1.127 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.008e-05/1.31, allocations: 17.47 kB / 1.127 GB, free: 5.801 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/1.31, allocations: 0 / 1.127 GB, free: 5.801 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.31, allocations: 4 kB / 1.127 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/1.31, allocations: 8.547 kB / 1.127 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006209/1.31, allocations: 418.9 kB / 1.128 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.31, allocations: 0 / 1.128 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/1.31, allocations: 7.984 kB / 1.128 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/1.31, allocations: 0 / 1.128 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/1.31, allocations: 11.84 kB / 1.128 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.31, allocations: 0.6562 kB / 1.128 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.31, allocations: 0 / 1.128 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002235/1.311, allocations: 225.9 kB / 1.128 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003644/1.311, allocations: 0.5919 MB / 1.128 GB, free: 4.449 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/1.311, allocations: 104.8 kB / 1.129 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/1.311, allocations: 3.984 kB / 1.129 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/1.311, allocations: 15.98 kB / 1.129 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/1.311, allocations: 20.72 kB / 1.129 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/1.311, allocations: 8 kB / 1.129 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.917e-05/1.312, allocations: 140.2 kB / 1.129 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009696/1.313, allocations: 47.98 kB / 1.129 GB, free: 4.098 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0004306/1.313, allocations: 168.1 kB / 1.129 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002179/1.313, allocations: 87.88 kB / 1.129 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.313, allocations: 0 / 1.129 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.888e-05/1.313, allocations: 48.42 kB / 1.129 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/1.314, allocations: 45.66 kB / 1.129 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/1.314, allocations: 196.6 kB / 1.129 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/1.315, allocations: 0.7517 MB / 1.13 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of SimCode: time 3.3e-07/1.315, allocations: 0 / 1.13 GB, free: 2.777 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1)