Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo) 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) Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestSlidingmean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestSlidingmean",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/Complex 4.0.0+maint.om/package.mo): time 0.003704/0.003704, allocations: 179 kB / 7.46 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 221.4 MB / 229.3 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009635/0.0009636, allocations: 92.2 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.08115/0.08115, allocations: 20.16 MB / 351.1 MB, free: 10.34 MB / 298.7 MB [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Components/Sensors/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TinySensorGas_L1_O2dry [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/PressureLoss/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/HeatTransport/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/FluidVolumes/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: VolumeVLE_2 VolumeVLE_3_TwoZones Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 1.228/1.228, allocations: 127.6 MB / 0.5229 GB, free: 4.766 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.214/1.442, allocations: 89.72 MB / 0.6105 GB, free: 10.86 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4624/1.904, allocations: 82.83 MB / 0.6914 GB, free: 33.68 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1676/2.072, allocations: 119.3 MB / 0.8079 GB, free: 6.184 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/2.072, allocations: 96.92 kB / 0.808 GB, free: 6.094 MB / 0.5418 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.01936/2.091, allocations: 6.459 MB / 0.8143 GB, free: 15.65 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/2.091, allocations: 12 kB / 0.8143 GB, free: 15.64 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.763e-05/2.091, allocations: 11.81 kB / 0.8143 GB, free: 15.63 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/2.092, allocations: 198.8 kB / 0.8145 GB, free: 15.39 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/2.092, allocations: 33.92 kB / 0.8145 GB, free: 15.36 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/2.092, allocations: 8 kB / 0.8145 GB, free: 15.35 MB / 0.5574 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001782/2.092, allocations: 55.97 kB / 0.8146 GB, free: 15.3 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/2.092, allocations: 88.88 kB / 0.8147 GB, free: 15.21 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/2.092, allocations: 0 / 0.8147 GB, free: 15.21 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/2.092, allocations: 0 / 0.8147 GB, free: 15.21 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/2.092, allocations: 4 kB / 0.8147 GB, free: 15.2 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006704/2.093, allocations: 367.6 kB / 0.815 GB, free: 14.81 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/2.093, allocations: 88.92 kB / 0.8151 GB, free: 14.72 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.039e-05/2.093, allocations: 40.92 kB / 0.8151 GB, free: 14.68 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/2.093, allocations: 4 kB / 0.8152 GB, free: 14.68 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/2.093, allocations: 38.5 kB / 0.8152 GB, free: 14.63 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=12): time 2.274e-06/2.093, allocations: 1.312 kB / 0.8152 GB, free: 14.63 MB / 0.5574 GB Notification: Performance of matching and sorting (n=12): time 0.0003357/2.094, allocations: 121.6 kB / 0.8153 GB, free: 14.5 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/2.094, allocations: 51.41 kB / 0.8154 GB, free: 14.44 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/2.094, allocations: 118.4 kB / 0.8155 GB, free: 14.32 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/2.094, allocations: 29.7 kB / 0.8155 GB, free: 14.28 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/2.094, allocations: 89.98 kB / 0.8156 GB, free: 14.19 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/2.094, allocations: 43.36 kB / 0.8156 GB, free: 14.15 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/2.094, allocations: 4 kB / 0.8156 GB, free: 14.14 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001187/2.094, allocations: 315.6 kB / 0.8159 GB, free: 13.83 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/2.094, allocations: 35.98 kB / 0.816 GB, free: 13.79 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.267e-05/2.094, allocations: 37.25 kB / 0.816 GB, free: 13.76 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.974e-05/2.094, allocations: 47.06 kB / 0.816 GB, free: 13.71 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/2.094, allocations: 0 / 0.816 GB, free: 13.71 MB / 0.5574 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002435/2.095, allocations: 146.2 kB / 0.8162 GB, free: 13.57 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/2.095, allocations: 7.984 kB / 0.8162 GB, free: 13.56 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/2.095, allocations: 0 / 0.8162 GB, free: 13.56 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/2.095, allocations: 0 / 0.8162 GB, free: 13.56 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/2.095, allocations: 93.56 kB / 0.8163 GB, free: 13.48 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/2.095, allocations: 0 / 0.8163 GB, free: 13.48 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.705e-05/2.095, allocations: 17.8 kB / 0.8163 GB, free: 13.46 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/2.095, allocations: 4 kB / 0.8163 GB, free: 13.46 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001015/2.096, allocations: 114.1 kB / 0.8164 GB, free: 13.34 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/2.096, allocations: 7.906 kB / 0.8164 GB, free: 13.33 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/2.096, allocations: 151.8 kB / 0.8166 GB, free: 13.18 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/2.096, allocations: 6.406 kB / 0.8166 GB, free: 13.18 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/2.096, allocations: 0 / 0.8166 GB, free: 13.18 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/2.096, allocations: 3.984 kB / 0.8166 GB, free: 13.17 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005475/2.097, allocations: 419.7 kB / 0.817 GB, free: 12.71 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.892e-06/2.097, allocations: 1.688 kB / 0.817 GB, free: 12.71 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000545/2.097, allocations: 96.73 kB / 0.8171 GB, free: 12.62 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/2.097, allocations: 5.688 kB / 0.8171 GB, free: 12.62 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/2.097, allocations: 8 kB / 0.8171 GB, free: 12.62 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/2.097, allocations: 7.844 kB / 0.8171 GB, free: 12.61 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/2.097, allocations: 1.688 kB / 0.8171 GB, free: 12.61 MB / 0.5574 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003859/2.098, allocations: 307 kB / 0.8174 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006318/2.098, allocations: 0.7352 MB / 0.8181 GB, free: 11.53 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/2.098, allocations: 93.28 kB / 0.8182 GB, free: 11.42 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/2.098, allocations: 4.781 kB / 0.8182 GB, free: 11.41 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/2.098, allocations: 9.531 kB / 0.8182 GB, free: 11.41 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/2.098, allocations: 7.984 kB / 0.8182 GB, free: 11.4 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/2.099, allocations: 9.391 kB / 0.8182 GB, free: 11.39 MB / 0.5574 GB Notification: Performance of sort global known variables: time 7.152e-05/2.099, allocations: 99.22 kB / 0.8183 GB, free: 11.29 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.000965/2.1, allocations: 51.92 kB / 0.8184 GB, free: 11.24 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (noise.y_,noise.y,slidingMean.integral) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.000497/2.1, allocations: 172 kB / 0.8185 GB, free: 11.1 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0002316/2.1, allocations: 103.9 kB / 0.8186 GB, free: 11 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/2.1, allocations: 1.969 kB / 0.8186 GB, free: 11 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 9.982e-05/2.1, allocations: 60.45 kB / 0.8187 GB, free: 10.94 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/2.101, allocations: 4.5 kB / 0.8187 GB, free: 10.94 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/2.102, allocations: 351 kB / 0.819 GB, free: 10.57 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/2.102, allocations: 0.7328 MB / 0.8197 GB, free: 9.805 MB / 0.5574 GB Notification: Performance of SimCode: time 3e-07/2.102, allocations: 0 / 0.8197 GB, free: 9.805 MB / 0.5574 GB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestSlidingmean_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestSlidingmean.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe 2>&1)