Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",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.002256/0.002256, allocations: 192.8 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.779/1.779, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.001287/0.001287, allocations: 96.83 kB / 261.4 MB, free: 13.53 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.2115/0.2115, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2622/0.4737, allocations: 64.97 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.8732, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/1.022, allocations: 86.33 MB / 0.5498 GB, free: 12.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/1.022, allocations: 83.45 kB / 0.5499 GB, free: 12.48 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01623/1.039, allocations: 5.384 MB / 0.5551 GB, free: 7.059 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/1.039, allocations: 8 kB / 0.5551 GB, free: 7.051 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/1.039, allocations: 15.81 kB / 0.5551 GB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/1.039, allocations: 175 kB / 0.5553 GB, free: 6.824 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/1.039, allocations: 3.906 kB / 0.5553 GB, free: 6.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/1.039, allocations: 4 kB / 0.5553 GB, free: 6.816 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001466/1.039, allocations: 55.91 kB / 0.5554 GB, free: 6.762 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/1.039, allocations: 53.69 kB / 0.5554 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/1.039, allocations: 4 kB / 0.5554 GB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/1.039, allocations: 3.938 kB / 0.5554 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/1.039, allocations: 4 kB / 0.5554 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/1.039, allocations: 170.1 kB / 0.5556 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.414e-05/1.04, allocations: 54.56 kB / 0.5557 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/1.04, allocations: 32.86 kB / 0.5557 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.13e-05/1.04, allocations: 19.98 kB / 0.5557 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/1.04, allocations: 42.5 kB / 0.5557 GB, free: 6.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.833e-06/1.04, allocations: 4 kB / 0.5557 GB, free: 6.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.023/1.063, allocations: 1.903 MB / 0.5576 GB, free: 4.383 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/1.063, allocations: 51.41 kB / 0.5577 GB, free: 4.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/1.063, allocations: 113.3 kB / 0.5578 GB, free: 4.199 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/1.063, allocations: 25.7 kB / 0.5578 GB, free: 4.168 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/1.063, allocations: 80.38 kB / 0.5579 GB, free: 4.082 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.426e-05/1.063, allocations: 43.39 kB / 0.5579 GB, free: 4.039 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/1.063, allocations: 0 / 0.5579 GB, free: 4.039 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/1.063, allocations: 322.8 kB / 0.5582 GB, free: 3.715 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/1.064, allocations: 79.92 kB / 0.5583 GB, free: 3.637 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/1.064, allocations: 79.92 kB / 0.5584 GB, free: 3.559 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/1.065, allocations: 259.6 kB / 0.5586 GB, free: 3.305 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.065, allocations: 0 / 0.5586 GB, free: 3.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001902/1.067, allocations: 393.2 kB / 0.559 GB, free: 2.914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/1.067, allocations: 4 kB / 0.559 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.067, allocations: 0 / 0.559 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/1.067, allocations: 0 / 0.559 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/1.068, allocations: 71.92 kB / 0.5591 GB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/1.068, allocations: 0 / 0.5591 GB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/1.068, allocations: 35.97 kB / 0.5591 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/1.069, allocations: 11.98 kB / 0.5591 GB, free: 2.793 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 (12): * Single equations (assignments): 12 * 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 0.0001307/1.069, allocations: 113.8 kB / 0.5592 GB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/1.069, allocations: 11.81 kB / 0.5592 GB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/1.071, allocations: 457.7 kB / 0.5597 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/1.071, allocations: 0 / 0.5597 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.071, allocations: 0 / 0.5597 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.071, allocations: 0 / 0.5597 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003802/1.075, allocations: 0.884 MB / 0.5605 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.075, allocations: 4.031 kB / 0.5605 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005521/1.075, allocations: 63.94 kB / 0.5606 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/1.075, allocations: 4 kB / 0.5606 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/1.075, allocations: 7.984 kB / 0.5606 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/1.075, allocations: 11.84 kB / 0.5606 GB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.075, allocations: 4 kB / 0.5606 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001901/1.077, allocations: 0.5227 MB / 0.5611 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002055/1.079, allocations: 0.8937 MB / 0.562 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/1.08, allocations: 113 kB / 0.5621 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/1.08, allocations: 0 / 0.5621 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000495/1.08, allocations: 35.97 kB / 0.5621 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/1.08, allocations: 11.98 kB / 0.5622 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/1.08, allocations: 11.89 kB / 0.5622 GB, free: 15.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.481e-05/1.08, allocations: 99.22 kB / 0.5623 GB, free: 15.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001274/1.082, allocations: 175.8 kB / 0.5624 GB, free: 15.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0006955/1.082, allocations: 262.8 kB / 0.5627 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004315/1.083, allocations: 175.9 kB / 0.5628 GB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.083, allocations: 0 / 0.5628 GB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001764/1.083, allocations: 95.91 kB / 0.5629 GB, free: 14.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/1.083, allocations: 15.98 kB / 0.563 GB, free: 14.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/1.086, allocations: 407.6 kB / 0.5633 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006388/1.086, allocations: 0.7467 MB / 0.5641 GB, free: 13.47 MB / 410.7 MB Notification: Performance of SimCode: time 2.184e-06/1.086, allocations: 0 / 0.5641 GB, free: 13.47 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat