Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",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 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 188.7 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.2 MB / 213.4 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 86.61 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2145/0.2145, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2467/0.4612, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.826, allocations: 58.83 MB / 476.7 MB, free: 5.289 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.96, allocations: 86.9 MB / 0.5503 GB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.9603, allocations: 75.45 kB / 0.5504 GB, free: 12.02 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.01178/0.9721, allocations: 4.378 MB / 0.5547 GB, free: 7.598 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.9721, allocations: 8 kB / 0.5547 GB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/0.9722, allocations: 31.62 kB / 0.5547 GB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.9724, allocations: 202.6 kB / 0.5549 GB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.894e-05/0.9726, allocations: 20.64 kB / 0.5549 GB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.9726, allocations: 16 kB / 0.555 GB, free: 7.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003703/0.973, allocations: 185.3 kB / 0.5551 GB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.9734, allocations: 216.8 kB / 0.5553 GB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.9734, allocations: 0 / 0.5553 GB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.9734, allocations: 3.984 kB / 0.5553 GB, free: 6.879 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.9734, allocations: 8 kB / 0.5553 GB, free: 6.871 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.9751, allocations: 0.9682 MB / 0.5563 GB, free: 5.859 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.194e-05/0.9752, allocations: 34.56 kB / 0.5563 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.9752, allocations: 20.92 kB / 0.5563 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.9752, allocations: 4 kB / 0.5564 GB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.9753, allocations: 45.06 kB / 0.5564 GB, free: 5.738 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.9753, allocations: 0 / 0.5564 GB, free: 5.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001852/0.9755, allocations: 53.52 kB / 0.5564 GB, free: 5.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.9755, allocations: 55.41 kB / 0.5565 GB, free: 5.613 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.9758, allocations: 225.9 kB / 0.5567 GB, free: 5.387 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.9758, allocations: 25.7 kB / 0.5567 GB, free: 5.355 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.976, allocations: 242.6 kB / 0.557 GB, free: 5.113 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.976, allocations: 11.91 kB / 0.557 GB, free: 5.102 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.976, allocations: 0 / 0.557 GB, free: 5.102 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.9761, allocations: 326.8 kB / 0.5573 GB, free: 4.773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-05/0.9762, allocations: 52 kB / 0.5573 GB, free: 4.723 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.9764, allocations: 85.7 kB / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.9765, allocations: 59.92 kB / 0.5575 GB, free: 4.574 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9765, allocations: 4 kB / 0.5575 GB, free: 4.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00034/0.9768, allocations: 197.4 kB / 0.5577 GB, free: 4.371 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.9769, allocations: 4 kB / 0.5577 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.9769, allocations: 3.984 kB / 0.5577 GB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.9769, allocations: 3.906 kB / 0.5577 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.9772, allocations: 60.34 kB / 0.5577 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.9773, allocations: 4 kB / 0.5577 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.9775, allocations: 35.64 kB / 0.5578 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.9775, allocations: 11.94 kB / 0.5578 GB, free: 4.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.074e-05/0.9776, allocations: 106.3 kB / 0.5579 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.9777, allocations: 15.81 kB / 0.5579 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.137e-05/0.9777, allocations: 24.55 kB / 0.5579 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.9777, allocations: 0 / 0.5579 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.9777, allocations: 0 / 0.5579 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.9777, allocations: 0 / 0.5579 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000542/0.9783, allocations: 475.9 kB / 0.5584 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9783, allocations: 0 / 0.5584 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.9783, allocations: 4 kB / 0.5584 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.9783, allocations: 0 / 0.5584 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.9784, allocations: 3.984 kB / 0.5584 GB, free: 3.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.9784, allocations: 0 / 0.5584 GB, free: 3.574 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.9784, allocations: 0 / 0.5584 GB, free: 3.574 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001508/0.9785, allocations: 103.5 kB / 0.5585 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002616/0.9788, allocations: 491.9 kB / 0.559 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.9789, allocations: 96.91 kB / 0.5591 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.9789, allocations: 0 / 0.5591 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.979, allocations: 4 kB / 0.5591 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.979, allocations: 0 / 0.5591 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.9791, allocations: 0 / 0.5591 GB, free: 2.816 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000168/0.9792, allocations: 163.2 kB / 0.5592 GB, free: 2.656 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008815/0.9801, allocations: 71.66 kB / 0.5593 GB, free: 2.586 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001159/0.9802, allocations: 95.19 kB / 0.5594 GB, free: 2.484 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.9805, allocations: 107.9 kB / 0.5595 GB, free: 2.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9805, allocations: 0 / 0.5595 GB, free: 2.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.383e-05/0.9805, allocations: 8 kB / 0.5595 GB, free: 2.371 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.9807, allocations: 24.58 kB / 0.5595 GB, free: 2.344 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.9814, allocations: 241.2 kB / 0.5597 GB, free: 2.082 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000453/0.9818, allocations: 0.7783 MB / 0.5605 GB, free: 1.277 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.9818, allocations: 0 / 0.5605 GB, free: 1.277 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat