Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.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.Basics.Functions.TestCases.TestGenerateGrid,fileNamePrefix="ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestGenerateGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,fileNamePrefix="ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestGenerateGrid",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.003246/0.003246, allocations: 183.2 kB / 7.459 MB, free: 2.512 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.386/1.386, allocations: 221.4 MB / 229.3 MB, free: 2.988 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.001012/0.001013, allocations: 94.36 kB / 280.1 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09401/0.09401, allocations: 20.17 MB / 351.1 MB, free: 10.29 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.112/1.112, allocations: 127.6 MB / 0.5229 GB, free: 4.695 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2277/1.34, allocations: 89.71 MB / 0.6105 GB, free: 10.79 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5633/1.903, allocations: 82.83 MB / 0.6914 GB, free: 33.74 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1745/2.078, allocations: 116.8 MB / 0.8054 GB, free: 8.801 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/2.078, allocations: 76.53 kB / 0.8055 GB, free: 8.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.009418/2.087, allocations: 3.123 MB / 0.8085 GB, free: 5.598 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/2.087, allocations: 12.97 kB / 0.8086 GB, free: 5.586 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/2.088, allocations: 3.906 kB / 0.8086 GB, free: 5.582 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/2.088, allocations: 164 kB / 0.8087 GB, free: 5.383 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/2.088, allocations: 5.562 kB / 0.8087 GB, free: 5.379 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/2.088, allocations: 0 / 0.8087 GB, free: 5.379 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.413e-05/2.088, allocations: 8.703 kB / 0.8087 GB, free: 5.371 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.666e-05/2.088, allocations: 30.48 kB / 0.8088 GB, free: 5.336 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/2.088, allocations: 0 / 0.8088 GB, free: 5.336 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/2.088, allocations: 3.469 kB / 0.8088 GB, free: 5.336 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/2.088, allocations: 4.5 kB / 0.8088 GB, free: 5.332 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/2.088, allocations: 138.9 kB / 0.8089 GB, free: 5.16 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 7.595e-05/2.088, allocations: 28.11 kB / 0.8089 GB, free: 5.125 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/2.088, allocations: 12.89 kB / 0.8089 GB, free: 5.109 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 5.218e-05/2.088, allocations: 4.594 kB / 0.8089 GB, free: 5.105 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/2.088, allocations: 35.14 kB / 0.809 GB, free: 5.062 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=3): time 2.124e-06/2.088, allocations: 0.5312 kB / 0.809 GB, free: 5.062 MB / 0.5418 GB Notification: Performance of matching and sorting (n=3): time 0.0002578/2.089, allocations: 38.36 kB / 0.809 GB, free: 5.02 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/2.089, allocations: 51.41 kB / 0.8091 GB, free: 4.957 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.352e-05/2.089, allocations: 101.8 kB / 0.8092 GB, free: 4.852 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/2.089, allocations: 26.42 kB / 0.8092 GB, free: 4.82 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/2.089, allocations: 80.92 kB / 0.8093 GB, free: 4.738 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/2.089, allocations: 7.844 kB / 0.8093 GB, free: 4.73 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/2.089, allocations: 0.5312 kB / 0.8093 GB, free: 4.73 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001624/2.089, allocations: 316.7 kB / 0.8096 GB, free: 4.414 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/2.089, allocations: 8 kB / 0.8096 GB, free: 4.406 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.153e-05/2.089, allocations: 7.984 kB / 0.8096 GB, free: 4.398 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.85e-05/2.089, allocations: 4 kB / 0.8096 GB, free: 4.395 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/2.089, allocations: 2.594 kB / 0.8096 GB, free: 4.395 MB / 0.5418 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.848e-05/2.089, allocations: 53.53 kB / 0.8096 GB, free: 4.336 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/2.089, allocations: 4 kB / 0.8097 GB, free: 4.332 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/2.089, allocations: 0 / 0.8097 GB, free: 4.332 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/2.089, allocations: 0 / 0.8097 GB, free: 4.332 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/2.089, allocations: 0 / 0.8097 GB, free: 4.332 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/2.089, allocations: 1.016 kB / 0.8097 GB, free: 4.332 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/2.089, allocations: 8.5 kB / 0.8097 GB, free: 4.328 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/2.09, allocations: 4.047 kB / 0.8097 GB, free: 4.324 MB / 0.5418 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 8.382e-05/2.09, allocations: 106 kB / 0.8098 GB, free: 4.215 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/2.09, allocations: 7.891 kB / 0.8098 GB, free: 4.207 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/2.09, allocations: 11.67 kB / 0.8098 GB, free: 4.191 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/2.09, allocations: 4 kB / 0.8098 GB, free: 4.188 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/2.09, allocations: 0 / 0.8098 GB, free: 4.188 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/2.09, allocations: 2.719 kB / 0.8098 GB, free: 4.188 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/2.09, allocations: 130.2 kB / 0.8099 GB, free: 4.023 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/2.09, allocations: 0 / 0.8099 GB, free: 4.023 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-06/2.09, allocations: 7.891 kB / 0.8099 GB, free: 4.016 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/2.09, allocations: 3.562 kB / 0.8099 GB, free: 4.016 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/2.09, allocations: 1.562 kB / 0.8099 GB, free: 4.016 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/2.09, allocations: 0 / 0.8099 GB, free: 4.016 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/2.09, allocations: 3.906 kB / 0.8099 GB, free: 4.016 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001359/2.09, allocations: 73.38 kB / 0.81 GB, free: 3.926 MB / 0.5418 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002847/2.09, allocations: 449.4 kB / 0.8104 GB, free: 3.465 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/2.09, allocations: 81.02 kB / 0.8105 GB, free: 3.367 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/2.09, allocations: 0.5938 kB / 0.8105 GB, free: 3.367 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-06/2.09, allocations: 0 / 0.8105 GB, free: 3.367 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/2.09, allocations: 7.906 kB / 0.8105 GB, free: 3.363 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/2.09, allocations: 3.984 kB / 0.8105 GB, free: 3.359 MB / 0.5418 GB Notification: Performance of sort global known variables: time 5.009e-05/2.09, allocations: 75.28 kB / 0.8106 GB, free: 3.285 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0007857/2.091, allocations: 20 kB / 0.8106 GB, free: 3.266 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0002434/2.092, allocations: 115.2 kB / 0.8107 GB, free: 3.145 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.000125/2.092, allocations: 15.94 kB / 0.8107 GB, free: 3.129 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/2.092, allocations: 0.7188 kB / 0.8107 GB, free: 3.129 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 3.103e-05/2.092, allocations: 8 kB / 0.8107 GB, free: 3.121 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/2.092, allocations: 12.55 kB / 0.8108 GB, free: 3.109 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/2.092, allocations: 60.64 kB / 0.8108 GB, free: 3.027 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003848/2.093, allocations: 0.692 MB / 0.8115 GB, free: 2.312 MB / 0.5418 GB Notification: Performance of SimCode: time 2.3e-07/2.093, allocations: 0.5625 kB / 0.8115 GB, free: 2.312 MB / 0.5418 GB (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestGenerateGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestGenerateGrid.fmu > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1)