Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009514/0.0009515, allocations: 89.12 kB / 16.67 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001284, allocations: 181.9 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.4 MB / 223.8 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2665/0.2665, allocations: 43.59 MB / 315.6 MB, free: 432 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005592/0.0005592, allocations: 15.48 kB / 385.2 MB, free: 56.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1457, allocations: 58.87 MB / 444.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.0229/0.1687, allocations: 16.98 MB / 461.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007929/0.1767, allocations: 4.474 MB / 465.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.1778, allocations: 19.81 kB / 465.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.1791, allocations: 238.6 kB / 465.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.1818, allocations: 0.6958 MB / 466.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003284/0.1851, allocations: 0.8618 MB / 467.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003053/0.1882, allocations: 1.876 MB / 469.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.1892, allocations: 369.3 kB / 469.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.1907, allocations: 0.4901 MB / 470.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.1919, allocations: 458 kB / 470.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002369/0.1922, allocations: 28 kB / 470.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.1941, allocations: 0.628 MB / 471.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003499/0.1945, allocations: 135.4 kB / 471.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008014/0.1953, allocations: 352 kB / 471.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.1969, allocations: 0.7756 MB / 472.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.197, allocations: 0 / 472.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.197, allocations: 0 / 472.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.577e-05/0.197, allocations: 0 / 472.4 MB, free: 8.707 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002443/0.1995, allocations: 0.8862 MB / 473.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/0.1995, allocations: 15.97 kB / 473.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005765/0.2001, allocations: 84.08 kB / 473.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.2012, allocations: 481.7 kB / 473.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.502e-05/0.2013, allocations: 33.38 kB / 473.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.934e-05/0.2014, allocations: 44.38 kB / 474 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.2027, allocations: 0.6611 MB / 474.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.2027, allocations: 0 / 474.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.639e-05/0.2028, allocations: 24 kB / 474.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.2029, allocations: 12 kB / 474.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.2039, allocations: 0.5346 MB / 475.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004291/0.2082, allocations: 3.105 MB / 478.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.2087, allocations: 238.6 kB / 478.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.2089, allocations: 145 kB / 478.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003795/0.2093, allocations: 340.4 kB / 479 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004836/0.2098, allocations: 302.9 kB / 479.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.044e-06/0.2098, allocations: 0 / 479.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001096/0.2109, allocations: 0.5402 MB / 479.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002381/0.2112, allocations: 290.7 kB / 480.1 MB, free: 492 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008581/0.212, allocations: 0.5576 MB / 480.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.2121, allocations: 29.7 kB / 480.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/0.2125, allocations: 339 kB / 481.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.2126, allocations: 90.73 kB / 481.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.2127, allocations: 49.69 kB / 481.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.2129, allocations: 366.8 kB / 481.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.2132, allocations: 165 kB / 481.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.2138, allocations: 384.9 kB / 482.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007934/0.2146, allocations: 0.5542 MB / 482.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.2146, allocations: 0 / 482.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001162/0.2158, allocations: 0.6428 MB / 483.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000273/0.2161, allocations: 296.6 kB / 483.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.2161, allocations: 7.938 kB / 483.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/0.2161, allocations: 8 kB / 483.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.2176, allocations: 199.7 kB / 483.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005724/0.2182, allocations: 0.6211 MB / 484.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006083/0.2188, allocations: 79.2 kB / 484.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.731e-05/0.2189, allocations: 31.98 kB / 484.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2189, allocations: 4 kB / 484.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001022/0.2199, allocations: 0.5607 MB / 485.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.2199, allocations: 4 kB / 485.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.22, allocations: 16.59 kB / 485.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.2203, allocations: 111.9 kB / 485.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/0.2204, allocations: 15.92 kB / 485.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005003/0.2209, allocations: 71.41 kB / 485.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.2209, allocations: 24 kB / 485.3 MB, free: 10.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004702/0.2214, allocations: 306.6 kB / 485.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.2216, allocations: 67.25 kB / 485.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.2231, allocations: 0.7835 MB / 486.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.2231, allocations: 8 kB / 486.5 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.2232, allocations: 0 / 486.5 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.2232, allocations: 0 / 486.5 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008776/0.224, allocations: 0.5325 MB / 487 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.587e-06/0.2241, allocations: 3.938 kB / 487 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007009/0.2248, allocations: 131.8 kB / 487.1 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/0.2248, allocations: 0 / 487.1 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.56e-05/0.2249, allocations: 19.94 kB / 487.2 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006377/0.2255, allocations: 0.5938 MB / 487.8 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2255, allocations: 0 / 487.8 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.2266, allocations: 0.5557 MB / 488.3 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004738/0.2271, allocations: 216 kB / 488.5 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.2273, allocations: 12 kB / 488.5 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.2277, allocations: 28.08 kB / 488.6 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.495e-05/0.2278, allocations: 27.95 kB / 488.6 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.2278, allocations: 16 kB / 488.6 MB, free: 7.531 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006707/0.2285, allocations: 415.1 kB / 489 MB, free: 7.125 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.91e-07/0.2285, allocations: 0 / 489 MB, free: 7.125 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001632/0.2302, allocations: 419.6 kB / 489.4 MB, free: 6.715 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001289/0.2315, allocations: 340.2 kB / 489.8 MB, free: 6.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003099/0.2346, allocations: 0.9769 MB / 490.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.2346, allocations: 0 / 490.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.2358, allocations: 391.6 kB / 491.1 MB, free: 4.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.2377, allocations: 282.5 kB / 491.4 MB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.2404, allocations: 1.378 MB / 492.8 MB, free: 3.297 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006583/0.2411, allocations: 0.8883 MB / 493.7 MB, free: 2.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.2413, allocations: 75.41 kB / 493.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of SimCode: time 1.332e-06/0.2414, allocations: 0 / 493.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of Templates: time 0.02919/0.2705, allocations: 14.59 MB / 0.4964 GB, free: 3.723 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrificeCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrificeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrificeCalcHelperMain.o] Error 1