Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.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.testRandomGenerators2,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2",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.003886/0.003886, allocations: 185.6 kB / 7.459 MB, free: 2.516 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.394/1.394, allocations: 221.4 MB / 229.3 MB, free: 3.062 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.001075/0.001074, allocations: 100.8 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1224/0.1224, allocations: 20.17 MB / 351.1 MB, free: 10.3 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.143/1.143, allocations: 127.6 MB / 0.5229 GB, free: 4.691 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2569/1.4, allocations: 89.72 MB / 0.6105 GB, free: 10.77 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5798/1.98, allocations: 82.83 MB / 0.6914 GB, free: 33.8 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1778/2.158, allocations: 118.6 MB / 0.8072 GB, free: 7.055 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/2.158, allocations: 87.84 kB / 0.8073 GB, free: 6.973 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.01959/2.178, allocations: 6.108 MB / 0.8133 GB, free: 0.9102 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/2.178, allocations: 8.562 kB / 0.8133 GB, free: 0.9023 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.37e-05/2.178, allocations: 7.906 kB / 0.8133 GB, free: 0.8945 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/2.178, allocations: 199.3 kB / 0.8135 GB, free: 0.6602 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.997e-05/2.178, allocations: 31.83 kB / 0.8135 GB, free: 0.625 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/2.178, allocations: 7.906 kB / 0.8135 GB, free: 0.6172 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001539/2.179, allocations: 47.97 kB / 0.8136 GB, free: 0.5703 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/2.179, allocations: 69.67 kB / 0.8136 GB, free: 0.4961 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/2.179, allocations: 1.75 kB / 0.8136 GB, free: 0.4961 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/2.179, allocations: 3.984 kB / 0.8136 GB, free: 0.4922 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/2.179, allocations: 0 / 0.8136 GB, free: 0.4922 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007169/2.18, allocations: 353.3 kB / 0.814 GB, free: 120 kB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/2.18, allocations: 71.91 kB / 0.814 GB, free: 40 kB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.994e-05/2.18, allocations: 37.7 kB / 0.8141 GB, free: 0 / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/2.18, allocations: 0 / 0.8141 GB, free: 0 / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/2.18, allocations: 35.81 kB / 0.8141 GB, free: 15.96 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/2.18, allocations: 4 kB / 0.8141 GB, free: 15.95 MB / 0.5574 GB Notification: Performance of matching and sorting (n=8): time 0.0002989/2.18, allocations: 102.2 kB / 0.8142 GB, free: 15.85 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/2.18, allocations: 55.41 kB / 0.8143 GB, free: 15.79 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/2.18, allocations: 116.1 kB / 0.8144 GB, free: 15.67 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/2.18, allocations: 25.81 kB / 0.8144 GB, free: 15.64 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/2.18, allocations: 94.2 kB / 0.8145 GB, free: 15.54 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/2.18, allocations: 27.61 kB / 0.8145 GB, free: 15.51 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/2.18, allocations: 0 / 0.8145 GB, free: 15.51 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001687/2.181, allocations: 322.8 kB / 0.8148 GB, free: 15.19 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.2e-05/2.181, allocations: 24.66 kB / 0.8149 GB, free: 15.16 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.232e-05/2.181, allocations: 31.38 kB / 0.8149 GB, free: 15.14 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.612e-05/2.181, allocations: 37.27 kB / 0.8149 GB, free: 15.1 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/2.181, allocations: 0 / 0.8149 GB, free: 15.1 MB / 0.5574 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002105/2.181, allocations: 109.4 kB / 0.815 GB, free: 14.99 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/2.181, allocations: 8.703 kB / 0.815 GB, free: 14.98 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/2.181, allocations: 0 / 0.815 GB, free: 14.98 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/2.181, allocations: 4.594 kB / 0.815 GB, free: 14.98 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005145/2.182, allocations: 95.3 kB / 0.8151 GB, free: 14.89 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/2.182, allocations: 0.5625 kB / 0.8151 GB, free: 14.89 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/2.182, allocations: 27.7 kB / 0.8152 GB, free: 14.87 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/2.182, allocations: 4 kB / 0.8152 GB, free: 14.86 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 (10): * Single equations (assignments): 10 * 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 9.779e-05/2.182, allocations: 113.6 kB / 0.8153 GB, free: 14.75 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/2.182, allocations: 7.906 kB / 0.8153 GB, free: 14.74 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.398e-05/2.182, allocations: 16.36 kB / 0.8153 GB, free: 14.72 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/2.182, allocations: 0.7188 kB / 0.8153 GB, free: 14.72 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/2.182, allocations: 0.625 kB / 0.8153 GB, free: 14.72 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/2.182, allocations: 0 / 0.8153 GB, free: 14.72 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/2.182, allocations: 174.8 kB / 0.8155 GB, free: 14.52 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/2.182, allocations: 0 / 0.8155 GB, free: 14.52 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/2.183, allocations: 96.92 kB / 0.8155 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/2.183, allocations: 0.6875 kB / 0.8155 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/2.183, allocations: 1.125 kB / 0.8155 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/2.183, allocations: 0 / 0.8155 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/2.183, allocations: 7.453 kB / 0.8156 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003518/2.183, allocations: 244.5 kB / 0.8158 GB, free: 14.17 MB / 0.5574 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005154/2.184, allocations: 0.6555 MB / 0.8164 GB, free: 13.5 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/2.184, allocations: 85 kB / 0.8165 GB, free: 13.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/2.184, allocations: 4 kB / 0.8165 GB, free: 13.39 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/2.184, allocations: 22.48 kB / 0.8165 GB, free: 13.38 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/2.184, allocations: 15.97 kB / 0.8166 GB, free: 13.36 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/2.184, allocations: 5.688 kB / 0.8166 GB, free: 13.36 MB / 0.5574 GB Notification: Performance of sort global known variables: time 6.398e-05/2.184, allocations: 95.8 kB / 0.8166 GB, free: 13.26 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.000867/2.185, allocations: 43.94 kB / 0.8167 GB, free: 13.22 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (noise.y_,noise.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0003096/2.185, allocations: 128.7 kB / 0.8168 GB, free: 13.09 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0002114/2.186, allocations: 76.12 kB / 0.8169 GB, free: 13.01 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/2.186, allocations: 2.531 kB / 0.8169 GB, free: 13.01 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 8.028e-05/2.186, allocations: 39.92 kB / 0.8169 GB, free: 12.97 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/2.186, allocations: 11.28 kB / 0.8169 GB, free: 12.96 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/2.186, allocations: 150.9 kB / 0.8171 GB, free: 12.79 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005356/2.187, allocations: 0.7231 MB / 0.8178 GB, free: 12.04 MB / 0.5574 GB Notification: Performance of SimCode: time 1.222e-06/2.187, allocations: 0 / 0.8178 GB, free: 12.04 MB / 0.5574 GB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1)