Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.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.Visualisation.Check.TestDynamicBar,fileNamePrefix="ClaRa_dev_ClaRa_Visualisation_Check_TestDynamicBar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Visualisation.Check.TestDynamicBar,fileNamePrefix="ClaRa_dev_ClaRa_Visualisation_Check_TestDynamicBar",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.002659/0.002659, allocations: 179.8 kB / 7.458 MB, free: 2.5 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.324/1.324, allocations: 221.4 MB / 229.3 MB, free: 3.031 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.00105/0.00105, allocations: 106.4 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09905/0.09905, allocations: 20.18 MB / 351.1 MB, free: 10.32 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.074/1.074, allocations: 127.6 MB / 0.5229 GB, free: 4.723 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2052/1.28, allocations: 89.71 MB / 0.6105 GB, free: 10.82 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5171/1.797, allocations: 82.83 MB / 0.6914 GB, free: 33.78 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1678/1.965, allocations: 118.1 MB / 0.8067 GB, free: 7.672 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/1.965, allocations: 75.88 kB / 0.8067 GB, free: 7.602 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.006181/1.971, allocations: 1.884 MB / 0.8086 GB, free: 5.73 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.971, allocations: 8 kB / 0.8086 GB, free: 5.723 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/1.971, allocations: 11.91 kB / 0.8086 GB, free: 5.711 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/1.971, allocations: 197.9 kB / 0.8088 GB, free: 5.48 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/1.971, allocations: 4 kB / 0.8088 GB, free: 5.477 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/1.971, allocations: 4 kB / 0.8088 GB, free: 5.473 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001316/1.972, allocations: 31.94 kB / 0.8088 GB, free: 5.441 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/1.972, allocations: 99.31 kB / 0.8089 GB, free: 5.328 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.972, allocations: 0 / 0.8089 GB, free: 5.328 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/1.972, allocations: 0 / 0.8089 GB, free: 5.328 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/1.972, allocations: 4 kB / 0.8089 GB, free: 5.324 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008327/1.973, allocations: 0.5582 MB / 0.8095 GB, free: 4.723 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/1.973, allocations: 76.03 kB / 0.8095 GB, free: 4.625 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.792e-05/1.973, allocations: 31.14 kB / 0.8096 GB, free: 4.586 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/1.973, allocations: 7.5 kB / 0.8096 GB, free: 4.582 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/1.973, allocations: 34.56 kB / 0.8096 GB, free: 4.539 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/1.973, allocations: 3.938 kB / 0.8096 GB, free: 4.535 MB / 0.5418 GB Notification: Performance of matching and sorting (n=5): time 0.000274/1.973, allocations: 69.53 kB / 0.8097 GB, free: 4.461 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.71e-05/1.973, allocations: 130.3 kB / 0.8098 GB, free: 4.305 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/1.973, allocations: 132.7 kB / 0.8099 GB, free: 4.172 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/1.974, allocations: 29.7 kB / 0.81 GB, free: 4.137 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/1.974, allocations: 104.9 kB / 0.8101 GB, free: 4.031 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/1.974, allocations: 19.66 kB / 0.8101 GB, free: 4.012 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-06/1.974, allocations: 2.969 kB / 0.8101 GB, free: 4.012 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.974, allocations: 322.8 kB / 0.8104 GB, free: 3.688 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.564e-05/1.974, allocations: 12 kB / 0.8104 GB, free: 3.676 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.763e-05/1.974, allocations: 58.84 kB / 0.8105 GB, free: 3.598 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.688e-05/1.974, allocations: 18.5 kB / 0.8105 GB, free: 3.582 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.974, allocations: 0 / 0.8105 GB, free: 3.582 MB / 0.5418 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001619/1.974, allocations: 82.33 kB / 0.8106 GB, free: 3.496 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.974, allocations: 8.531 kB / 0.8106 GB, free: 3.488 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.974, allocations: 4.906 kB / 0.8106 GB, free: 3.484 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1.974, allocations: 4.422 kB / 0.8106 GB, free: 3.48 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/1.974, allocations: 29.02 kB / 0.8106 GB, free: 3.453 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/1.974, allocations: 4.562 kB / 0.8106 GB, free: 3.449 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/1.975, allocations: 14.05 kB / 0.8106 GB, free: 3.438 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/1.975, allocations: 4 kB / 0.8106 GB, free: 3.434 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.668e-05/1.975, allocations: 113.7 kB / 0.8107 GB, free: 3.316 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.568e-05/1.975, allocations: 12.41 kB / 0.8107 GB, free: 3.305 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/1.975, allocations: 15.73 kB / 0.8108 GB, free: 3.289 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.975, allocations: 3.375 kB / 0.8108 GB, free: 3.289 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.975, allocations: 1.312 kB / 0.8108 GB, free: 3.289 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/1.975, allocations: 4 kB / 0.8108 GB, free: 3.285 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/1.975, allocations: 174 kB / 0.8109 GB, free: 3.078 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.975, allocations: 0 / 0.8109 GB, free: 3.078 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/1.975, allocations: 17.42 kB / 0.811 GB, free: 3.062 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/1.975, allocations: 8.281 kB / 0.811 GB, free: 3.059 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/1.975, allocations: 0 / 0.811 GB, free: 3.059 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.975, allocations: 0 / 0.811 GB, free: 3.059 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.975, allocations: 6.281 kB / 0.811 GB, free: 3.055 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003394/1.976, allocations: 348.7 kB / 0.8113 GB, free: 2.688 MB / 0.5418 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004225/1.976, allocations: 0.6994 MB / 0.812 GB, free: 1.957 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/1.976, allocations: 93.52 kB / 0.8121 GB, free: 1.848 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/1.976, allocations: 7.984 kB / 0.8121 GB, free: 1.84 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/1.976, allocations: 12.38 kB / 0.8121 GB, free: 1.832 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/1.976, allocations: 9.422 kB / 0.8121 GB, free: 1.824 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/1.976, allocations: 0 / 0.8121 GB, free: 1.824 MB / 0.5418 GB Notification: Performance of sort global known variables: time 9.291e-05/1.977, allocations: 108.1 kB / 0.8122 GB, free: 1.719 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0009295/1.978, allocations: 20.66 kB / 0.8122 GB, free: 1.699 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.000122/1.978, allocations: 91.84 kB / 0.8123 GB, free: 1.598 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0001419/1.978, allocations: 37.73 kB / 0.8123 GB, free: 1.562 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.978, allocations: 3.938 kB / 0.8123 GB, free: 1.559 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 5.763e-05/1.978, allocations: 20.97 kB / 0.8124 GB, free: 1.539 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/1.978, allocations: 9.234 kB / 0.8124 GB, free: 1.531 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005633/1.979, allocations: 138.9 kB / 0.8125 GB, free: 1.363 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004926/1.979, allocations: 0.7162 MB / 0.8132 GB, free: 0.6211 MB / 0.5418 GB Notification: Performance of SimCode: time 3.21e-07/1.979, allocations: 0.7188 kB / 0.8132 GB, free: 0.6211 MB / 0.5418 GB (rm -f ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe ; mkfifo ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe >> ../files/ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Visualisation_Check_TestDynamicBar_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Visualisation_Check_TestDynamicBar.fmu > ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar_res.mat does not exist to compare? outputFormat=mat