Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",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.001423/0.001423, allocations: 193 kB / 7.806 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.329/1.329, 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.001019/0.001019, allocations: 90.38 kB / 261.4 MB, free: 13.54 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.1882/0.1882, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2015/0.3897, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.6859, allocations: 58.83 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1192/0.8051, allocations: 83.17 MB / 0.5467 GB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.8054, allocations: 71.14 kB / 0.5468 GB, free: 15.69 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.001888/0.8073, allocations: 0.6292 MB / 0.5474 GB, free: 15.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.8073, allocations: 8 kB / 0.5474 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.8074, allocations: 0 / 0.5474 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.8075, allocations: 163 kB / 0.5475 GB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.8075, allocations: 0 / 0.5475 GB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.8076, allocations: 4 kB / 0.5475 GB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.587e-05/0.8076, allocations: 19.83 kB / 0.5476 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.138e-05/0.8077, allocations: 33.7 kB / 0.5476 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.8077, allocations: 0 / 0.5476 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.485e-06/0.8077, allocations: 0 / 0.5476 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8077, allocations: 0 / 0.5476 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.8079, allocations: 130.2 kB / 0.5477 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.808, allocations: 25.72 kB / 0.5477 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.8081, allocations: 12.86 kB / 0.5478 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003405/0.8084, allocations: 129.1 kB / 0.5479 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.8085, allocations: 42.41 kB / 0.5479 GB, free: 14.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.8085, allocations: 0 / 0.5479 GB, free: 14.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001213/0.8097, allocations: 177.5 kB / 0.5481 GB, free: 14.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.8097, allocations: 51.41 kB / 0.5481 GB, free: 14.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.26e-05/0.8098, allocations: 85 kB / 0.5482 GB, free: 14.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.8098, allocations: 25.7 kB / 0.5482 GB, free: 13.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.624e-05/0.8099, allocations: 88.12 kB / 0.5483 GB, free: 13.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.8099, allocations: 15.72 kB / 0.5483 GB, free: 13.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.8099, allocations: 0 / 0.5483 GB, free: 13.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.81, allocations: 315 kB / 0.5486 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/0.8101, allocations: 12 kB / 0.5486 GB, free: 13.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.366e-05/0.8101, allocations: 11.94 kB / 0.5487 GB, free: 13.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.824e-05/0.8102, allocations: 19.36 kB / 0.5487 GB, free: 13.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.8102, allocations: 0 / 0.5487 GB, free: 13.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001381/0.8103, allocations: 73.84 kB / 0.5488 GB, free: 13.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.8103, allocations: 6.812 kB / 0.5488 GB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.8103, allocations: 0 / 0.5488 GB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.8104, allocations: 3.906 kB / 0.5488 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.8105, allocations: 19.98 kB / 0.5488 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.8105, allocations: 7.984 kB / 0.5488 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.134e-05/0.8106, allocations: 4 kB / 0.5488 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.8106, allocations: 3.984 kB / 0.5488 GB, free: 13.4 MB / 394.7 MB 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 (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 prepare postOptimizeDAE: time 6.918e-05/0.8107, allocations: 110.3 kB / 0.5489 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.8107, allocations: 3.906 kB / 0.5489 GB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.8109, allocations: 81.19 kB / 0.549 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.811, allocations: 4.141 kB / 0.549 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.811, allocations: 3.984 kB / 0.549 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.811, allocations: 0 / 0.549 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005794/0.8116, allocations: 327.8 kB / 0.5493 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.8116, allocations: 0 / 0.5493 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.8117, allocations: 20.02 kB / 0.5493 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8117, allocations: 4 kB / 0.5493 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.8117, allocations: 0 / 0.5493 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.8117, allocations: 0 / 0.5493 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8117, allocations: 0 / 0.5493 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002163/0.812, allocations: 186 kB / 0.5495 GB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002866/0.8122, allocations: 0.5454 MB / 0.55 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.8123, allocations: 81.11 kB / 0.5501 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.8123, allocations: 0 / 0.5501 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.8124, allocations: 15.98 kB / 0.5501 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.8125, allocations: 7.906 kB / 0.5501 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.8125, allocations: 7.938 kB / 0.5501 GB, free: 11.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.897e-05/0.8125, allocations: 79.22 kB / 0.5502 GB, free: 11.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007976/0.8133, allocations: 8 kB / 0.5502 GB, free: 11.79 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 (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.0001403/0.8135, allocations: 103.2 kB / 0.5503 GB, free: 11.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.647e-05/0.8136, allocations: 24.03 kB / 0.5503 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8136, allocations: 4 kB / 0.5504 GB, free: 11.65 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.943e-05/0.8136, allocations: 16 kB / 0.5504 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.8138, allocations: 0 / 0.5504 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.8141, allocations: 92.69 kB / 0.5505 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.8144, allocations: 0.7036 MB / 0.5511 GB, free: 10.79 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.8145, allocations: 0 / 0.5511 GB, free: 10.79 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat