Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.919/1.919, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001079/0.001079, allocations: 184.6 kB / 487 MB, free: 5.371 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.276/1.276, allocations: 221.3 MB / 0.7819 GB, free: 1.406 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.0008862/0.0008862, allocations: 94.12 kB / 0.9213 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4742/0.4751, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.6848, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5693/1.254, allocations: 152.4 MB / 1.354 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/1.254, allocations: 78.19 kB / 1.354 GB, free: 15.84 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.03277/1.287, allocations: 12.61 MB / 1.367 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/1.287, allocations: 11.98 kB / 1.367 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.426e-05/1.287, allocations: 19.81 kB / 1.367 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/1.288, allocations: 256.2 kB / 1.367 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/1.288, allocations: 7.281 kB / 1.367 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/1.288, allocations: 15.94 kB / 1.367 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001112/1.288, allocations: 45.42 kB / 1.367 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/1.288, allocations: 102.9 kB / 1.367 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/1.288, allocations: 0 / 1.367 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/1.288, allocations: 0 / 1.367 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.288, allocations: 7.938 kB / 1.367 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/1.289, allocations: 0.4919 MB / 1.367 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/1.289, allocations: 90.58 kB / 1.368 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/1.289, allocations: 40.16 kB / 1.368 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/1.289, allocations: 0 / 1.368 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/1.289, allocations: 105.5 kB / 1.368 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/1.289, allocations: 4 kB / 1.368 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0002052/1.289, allocations: 107.3 kB / 1.368 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/1.289, allocations: 85.14 kB / 1.368 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/1.289, allocations: 174.3 kB / 1.368 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/1.289, allocations: 32.77 kB / 1.368 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/1.29, allocations: 107.4 kB / 1.368 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/1.29, allocations: 24.84 kB / 1.368 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/1.29, allocations: 0 / 1.368 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.954e-05/1.29, allocations: 329.8 kB / 1.368 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-05/1.29, allocations: 31.19 kB / 1.369 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/1.29, allocations: 132.6 kB / 1.369 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.473e-05/1.29, allocations: 30.61 kB / 1.369 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.29, allocations: 0 / 1.369 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001896/1.29, allocations: 146.8 kB / 1.369 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/1.29, allocations: 8 kB / 1.369 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.29, allocations: 0 / 1.369 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/1.29, allocations: 8 kB / 1.369 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.502e-05/1.29, allocations: 15.94 kB / 1.369 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/1.29, allocations: 8.141 kB / 1.369 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/1.29, allocations: 31.83 kB / 1.369 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/1.29, allocations: 4 kB / 1.369 GB, free: 8.125 MB / 0.8073 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 6.874e-05/1.291, allocations: 119.1 kB / 1.369 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/1.291, allocations: 19.81 kB / 1.369 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/1.291, allocations: 27.11 kB / 1.369 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.291, allocations: 4 kB / 1.369 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.291, allocations: 0 / 1.369 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.291, allocations: 0 / 1.369 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/1.291, allocations: 420.6 kB / 1.369 GB, free: 7.559 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.291, allocations: 4 kB / 1.369 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/1.291, allocations: 0 / 1.369 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.291, allocations: 4 kB / 1.369 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/1.291, allocations: 0 / 1.369 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.291, allocations: 7.906 kB / 1.369 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.291, allocations: 4 kB / 1.369 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001368/1.291, allocations: 225.7 kB / 1.37 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001695/1.291, allocations: 0.5945 MB / 1.37 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/1.291, allocations: 100.8 kB / 1.37 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/1.292, allocations: 0 / 1.37 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/1.292, allocations: 26.67 kB / 1.37 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/1.292, allocations: 15.66 kB / 1.37 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/1.292, allocations: 8 kB / 1.37 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.962e-05/1.292, allocations: 139.6 kB / 1.371 GB, free: 6.434 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008591/1.293, allocations: 43.19 kB / 1.371 GB, free: 6.395 MB / 0.8073 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.0002773/1.293, allocations: 184.2 kB / 1.371 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001655/1.293, allocations: 92.61 kB / 1.371 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.293, allocations: 0 / 1.371 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.028e-05/1.293, allocations: 45.81 kB / 1.371 GB, free: 6.125 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/1.294, allocations: 50.45 kB / 1.371 GB, free: 6.086 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/1.294, allocations: 209.6 kB / 1.371 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/1.294, allocations: 0.7507 MB / 1.372 GB, free: 21.1 MB / 0.823 GB Notification: Performance of SimCode: time 2.91e-07/1.294, allocations: 0 / 1.372 GB, free: 21.1 MB / 0.823 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1)