Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.905/1.905, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.00109/0.00109, allocations: 177.3 kB / 487 MB, free: 5.348 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.235/1.235, allocations: 221.3 MB / 0.7819 GB, free: 1.328 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.0009504/0.0009504, allocations: 95.44 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4704/0.4714, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.6859, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5868/1.273, allocations: 152.4 MB / 1.354 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/1.273, allocations: 75.19 kB / 1.354 GB, free: 15.73 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.02207/1.295, allocations: 8.13 MB / 1.362 GB, free: 14 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/1.295, allocations: 8.562 kB / 1.362 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/1.295, allocations: 24.38 kB / 1.362 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/1.296, allocations: 264.8 kB / 1.362 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/1.296, allocations: 0.6562 kB / 1.362 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/1.296, allocations: 12 kB / 1.362 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000118/1.296, allocations: 46.08 kB / 1.362 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/1.296, allocations: 81.8 kB / 1.363 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/1.296, allocations: 7.875 kB / 1.363 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/1.296, allocations: 4.594 kB / 1.363 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.296, allocations: 0.6094 kB / 1.363 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/1.297, allocations: 419.6 kB / 1.363 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/1.297, allocations: 91.69 kB / 1.363 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.792e-05/1.297, allocations: 28.73 kB / 1.363 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/1.297, allocations: 3.984 kB / 1.363 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.993e-05/1.297, allocations: 93.94 kB / 1.363 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/1.297, allocations: 4 kB / 1.363 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0001898/1.297, allocations: 114.3 kB / 1.363 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.597e-05/1.297, allocations: 51.41 kB / 1.363 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/1.297, allocations: 175 kB / 1.363 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/1.297, allocations: 33.69 kB / 1.364 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/1.297, allocations: 104.3 kB / 1.364 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/1.297, allocations: 29.64 kB / 1.364 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/1.297, allocations: 0 / 1.364 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.354e-05/1.297, allocations: 337 kB / 1.364 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.907e-05/1.298, allocations: 27.56 kB / 1.364 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/1.298, allocations: 112.3 kB / 1.364 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.217e-05/1.298, allocations: 37.02 kB / 1.364 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.298, allocations: 3.984 kB / 1.364 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001736/1.298, allocations: 127.7 kB / 1.364 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/1.298, allocations: 7.984 kB / 1.364 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.298, allocations: 4 kB / 1.364 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/1.298, allocations: 4 kB / 1.364 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/1.298, allocations: 15.94 kB / 1.364 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/1.298, allocations: 4.125 kB / 1.364 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/1.298, allocations: 35.81 kB / 1.364 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/1.298, allocations: 7.625 kB / 1.364 GB, free: 11.87 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: 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 6.389e-05/1.298, allocations: 116.1 kB / 1.364 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/1.298, allocations: 23.94 kB / 1.364 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/1.298, allocations: 19.28 kB / 1.364 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.298, allocations: 7.922 kB / 1.364 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/1.298, allocations: 0 / 1.364 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.298, allocations: 4 kB / 1.364 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/1.299, allocations: 452.1 kB / 1.365 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.299, allocations: 4 kB / 1.365 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/1.299, allocations: 4 kB / 1.365 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.299, allocations: 4 kB / 1.365 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/1.299, allocations: 7.922 kB / 1.365 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/1.299, allocations: 0 / 1.365 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.299, allocations: 0 / 1.365 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001343/1.299, allocations: 213.9 kB / 1.365 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001708/1.299, allocations: 0.5826 MB / 1.366 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/1.299, allocations: 92.23 kB / 1.366 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/1.299, allocations: 0 / 1.366 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/1.3, allocations: 23.97 kB / 1.366 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/1.3, allocations: 19.84 kB / 1.366 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/1.3, allocations: 8 kB / 1.366 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.778e-05/1.3, allocations: 129.4 kB / 1.366 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009049/1.301, allocations: 54.78 kB / 1.366 GB, free: 10.15 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: 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.0002518/1.301, allocations: 172.4 kB / 1.366 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001667/1.301, allocations: 87.25 kB / 1.366 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.301, allocations: 4.25 kB / 1.366 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.375e-05/1.301, allocations: 57.56 kB / 1.366 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/1.301, allocations: 44.38 kB / 1.366 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/1.302, allocations: 213.4 kB / 1.367 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/1.302, allocations: 0.7513 MB / 1.367 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of SimCode: time 2.3e-07/1.302, allocations: 0 / 1.367 GB, free: 8.871 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)