Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.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.TestMaxAbs,fileNamePrefix="ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestMaxAbs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.Functions.TestCases.TestMaxAbs,fileNamePrefix="ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestMaxAbs",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.003277/0.003277, allocations: 178.6 kB / 7.455 MB, free: 2.508 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.468/1.468, allocations: 221.4 MB / 229.3 MB, free: 3.117 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.0009951/0.0009949, allocations: 93.56 kB / 280.1 MB, free: 1.219 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09185/0.09185, allocations: 20.16 MB / 351.1 MB, free: 10.31 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.114/1.114, allocations: 127.6 MB / 0.5229 GB, free: 4.727 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2349/1.349, allocations: 89.71 MB / 0.6105 GB, free: 10.83 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5845/1.933, allocations: 82.82 MB / 0.6914 GB, free: 33.55 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/2.117, allocations: 117.8 MB / 0.8065 GB, free: 7.766 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/2.117, allocations: 80.42 kB / 0.8065 GB, free: 7.691 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01201/2.129, allocations: 3.659 MB / 0.8101 GB, free: 4.105 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 6.569e-05/2.129, allocations: 12 kB / 0.8101 GB, free: 4.094 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/2.129, allocations: 0 / 0.8101 GB, free: 4.094 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/2.13, allocations: 167.9 kB / 0.8103 GB, free: 3.891 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/2.13, allocations: 0 / 0.8103 GB, free: 3.891 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/2.13, allocations: 4 kB / 0.8103 GB, free: 3.887 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001049/2.13, allocations: 8.969 kB / 0.8103 GB, free: 3.879 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.17e-05/2.13, allocations: 37.69 kB / 0.8103 GB, free: 3.836 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/2.13, allocations: 0.7812 kB / 0.8103 GB, free: 3.836 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/2.13, allocations: 1.062 kB / 0.8103 GB, free: 3.836 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/2.13, allocations: 0.7188 kB / 0.8103 GB, free: 3.836 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/2.13, allocations: 134.9 kB / 0.8105 GB, free: 3.668 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/2.13, allocations: 35.11 kB / 0.8105 GB, free: 3.625 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/2.13, allocations: 21.67 kB / 0.8105 GB, free: 3.602 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004564/2.131, allocations: 348.2 kB / 0.8108 GB, free: 3.191 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/2.131, allocations: 30.56 kB / 0.8109 GB, free: 3.152 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=4): time 2.004e-06/2.131, allocations: 0 / 0.8109 GB, free: 3.152 MB / 0.5418 GB Notification: Performance of matching and sorting (n=4): time 0.001151/2.132, allocations: 246 kB / 0.8111 GB, free: 2.914 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/2.132, allocations: 52.16 kB / 0.8112 GB, free: 2.852 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.121e-05/2.132, allocations: 88.28 kB / 0.8112 GB, free: 2.762 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/2.132, allocations: 26.3 kB / 0.8113 GB, free: 2.73 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/2.132, allocations: 80.95 kB / 0.8113 GB, free: 2.648 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/2.132, allocations: 19.75 kB / 0.8114 GB, free: 2.629 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/2.132, allocations: 1.625 kB / 0.8114 GB, free: 2.629 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001214/2.132, allocations: 310.8 kB / 0.8117 GB, free: 2.316 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.499e-05/2.132, allocations: 7.938 kB / 0.8117 GB, free: 2.309 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.435e-05/2.132, allocations: 12.83 kB / 0.8117 GB, free: 2.297 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000906/2.133, allocations: 208.3 kB / 0.8119 GB, free: 2.105 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/2.133, allocations: 0 / 0.8119 GB, free: 2.105 MB / 0.5418 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0009536/2.134, allocations: 247.7 kB / 0.8121 GB, free: 1.863 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/2.134, allocations: 8.625 kB / 0.8121 GB, free: 1.855 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/2.134, allocations: 0 / 0.8121 GB, free: 1.855 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/2.134, allocations: 4.438 kB / 0.8121 GB, free: 1.852 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.605e-05/2.134, allocations: 4.969 kB / 0.8121 GB, free: 1.848 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/2.134, allocations: 0 / 0.8121 GB, free: 1.848 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/2.134, allocations: 2.156 kB / 0.8121 GB, free: 1.848 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/2.134, allocations: 8 kB / 0.8121 GB, free: 1.84 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 (4): * Single equations (assignments): 4 * 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 8.477e-05/2.134, allocations: 109.4 kB / 0.8123 GB, free: 1.727 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/2.135, allocations: 0.625 kB / 0.8123 GB, free: 1.727 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/2.136, allocations: 267.2 kB / 0.8125 GB, free: 1.457 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/2.136, allocations: 0 / 0.8125 GB, free: 1.457 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/2.136, allocations: 3.984 kB / 0.8125 GB, free: 1.453 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/2.136, allocations: 0 / 0.8125 GB, free: 1.453 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.971e-05/2.136, allocations: 134.2 kB / 0.8126 GB, free: 1.285 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/2.136, allocations: 0 / 0.8126 GB, free: 1.285 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/2.136, allocations: 8 kB / 0.8126 GB, free: 1.277 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/2.136, allocations: 3.984 kB / 0.8126 GB, free: 1.273 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/2.136, allocations: 0 / 0.8126 GB, free: 1.273 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/2.136, allocations: 2.438 kB / 0.8127 GB, free: 1.273 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/2.136, allocations: 1.562 kB / 0.8127 GB, free: 1.273 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009474/2.137, allocations: 285 kB / 0.8129 GB, free: 0.9766 MB / 0.5418 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001145/2.138, allocations: 0.6339 MB / 0.8135 GB, free: 328 kB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/2.138, allocations: 85.02 kB / 0.8136 GB, free: 224 kB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/2.138, allocations: 0 / 0.8136 GB, free: 224 kB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.121e-05/2.138, allocations: 3.188 kB / 0.8136 GB, free: 224 kB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/2.138, allocations: 0 / 0.8136 GB, free: 224 kB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/2.138, allocations: 4 kB / 0.8136 GB, free: 220 kB / 0.5418 GB Notification: Performance of sort global known variables: time 2.961e-05/2.138, allocations: 75.28 kB / 0.8137 GB, free: 144 kB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0007738/2.139, allocations: 31.92 kB / 0.8137 GB, free: 112 kB / 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 (4): * Single equations (assignments): 4 * 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.0002641/2.139, allocations: 123.2 kB / 0.8139 GB, free: 15.97 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 7.758e-05/2.139, allocations: 16 kB / 0.8139 GB, free: 15.96 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/2.139, allocations: 0 / 0.8139 GB, free: 15.96 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 1.728e-05/2.139, allocations: 12 kB / 0.8139 GB, free: 15.95 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001018/2.139, allocations: 3.906 kB / 0.8139 GB, free: 15.94 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002323/2.14, allocations: 60 kB / 0.8139 GB, free: 15.86 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/2.14, allocations: 0.6993 MB / 0.8146 GB, free: 15.14 MB / 0.5574 GB Notification: Performance of SimCode: time 2.1e-07/2.14, allocations: 0 / 0.8146 GB, free: 15.14 MB / 0.5574 GB (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestMaxAbs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestMaxAbs.fmu > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat does not exist to compare? outputFormat=mat