Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001919/0.001919, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205.1 MB / 224.6 MB, free: 12.47 MB / 190.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.001151/0.001151, allocations: 55.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1346, allocations: 46.63 MB / 327.2 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006456/0.1411, allocations: 4.392 MB / 331.6 MB, free: 488 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.1442, allocations: 1.243 MB / 332.9 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003916/0.1446, allocations: 8 kB / 332.9 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004894/0.1452, allocations: 107.3 kB / 333 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006041/0.1458, allocations: 238.1 kB / 333.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.1462, allocations: 167.8 kB / 333.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008675/0.1471, allocations: 0.8827 MB / 334.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003574/0.1475, allocations: 228.8 kB / 334.5 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004176/0.1479, allocations: 346.6 kB / 334.8 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.1483, allocations: 386.4 kB / 335.2 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.1485, allocations: 59.94 kB / 335.3 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.1486, allocations: 52 kB / 335.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.1487, allocations: 143.4 kB / 335.5 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003984/0.1491, allocations: 398.1 kB / 335.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007154/0.1499, allocations: 0.678 MB / 336.5 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1499, allocations: 4 kB / 336.5 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1499, allocations: 0 / 336.5 MB, free: 11.55 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1499, allocations: 0 / 336.5 MB, free: 11.55 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002332/0.1522, allocations: 1.117 MB / 337.6 MB, free: 10.37 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.1523, allocations: 8.031 kB / 337.7 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.1525, allocations: 84.09 kB / 337.7 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007154/0.1532, allocations: 484.5 kB / 338.2 MB, free: 9.766 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.1534, allocations: 96.95 kB / 338.3 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.551e-05/0.1535, allocations: 48.38 kB / 338.4 MB, free: 9.613 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.1547, allocations: 0.6476 MB / 339 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.1548, allocations: 7.938 kB / 339 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-05/0.1548, allocations: 23.98 kB / 339 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.1549, allocations: 8 kB / 339 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.1559, allocations: 455.7 kB / 339.5 MB, free: 8.41 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/0.1593, allocations: 1.951 MB / 341.4 MB, free: 6.328 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.1612, allocations: 0.6906 MB / 342.1 MB, free: 5.613 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005775/0.1618, allocations: 262 kB / 342.4 MB, free: 5.355 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.713e-05/0.1619, allocations: 16.42 kB / 342.4 MB, free: 5.34 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.1619, allocations: 39 kB / 342.4 MB, free: 5.293 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 1.894e-06/0.162, allocations: 3.938 kB / 342.4 MB, free: 5.289 MB / 286.1 MB Notification: Performance of matching and sorting (n=54): time 0.005143/0.1671, allocations: 1.48 MB / 343.9 MB, free: 3.734 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003892/0.1675, allocations: 0.5683 MB / 344.5 MB, free: 3.031 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007621/0.1683, allocations: 0.5421 MB / 345 MB, free: 2.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.43e-05/0.1684, allocations: 37.7 kB / 345.1 MB, free: 2.438 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.1686, allocations: 280.5 kB / 345.3 MB, free: 2.16 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.1688, allocations: 189.3 kB / 345.5 MB, free: 1.973 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.169, allocations: 110.2 kB / 345.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.1692, allocations: 374.7 kB / 346 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/0.1698, allocations: 193 kB / 346.2 MB, free: 1.293 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/0.1705, allocations: 420.3 kB / 346.6 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.1716, allocations: 488.5 kB / 347.1 MB, free: 316 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1716, allocations: 0 / 347.1 MB, free: 316 kB / 286.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002303/0.1739, allocations: 0.8185 MB / 347.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.174, allocations: 29.7 kB / 347.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.174, allocations: 0 / 347.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.175, allocations: 218.4 kB / 348.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007002/0.1757, allocations: 131.8 kB / 348.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008026/0.1838, allocations: 5.148 MB / 353.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009917/0.1848, allocations: 83.52 kB / 353.5 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/0.1849, allocations: 16 kB / 353.5 MB, free: 9.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005113/0.1854, allocations: 193.8 kB / 353.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.1856, allocations: 71.16 kB / 353.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003178/0.1888, allocations: 0.7772 MB / 354.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.1888, allocations: 8.188 kB / 354.6 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1888, allocations: 0 / 354.6 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002385/0.1912, allocations: 1.039 MB / 355.6 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003614/0.1949, allocations: 1.51 MB / 357.1 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.1949, allocations: 0 / 357.1 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007407/0.1956, allocations: 131.8 kB / 357.2 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008649/0.1965, allocations: 177.5 kB / 357.4 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.1966, allocations: 12 kB / 357.4 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005222/0.2018, allocations: 3.478 MB / 360.9 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2018, allocations: 128 / 360.9 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003099/0.2049, allocations: 1.077 MB / 362 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.2054, allocations: 196.2 kB / 362.2 MB, free: 260 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.933e-05/0.2055, allocations: 12 kB / 362.2 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/0.206, allocations: 39.97 kB / 362.2 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.2062, allocations: 48.42 kB / 362.3 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.2062, allocations: 12 kB / 362.3 MB, free: 148 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000565/0.2068, allocations: 390.8 kB / 362.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2068, allocations: 4 kB / 362.7 MB, free: 15.76 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008845/0.2077, allocations: 219.7 kB / 362.9 MB, free: 15.55 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000198/0.2079, allocations: 115.1 kB / 363 MB, free: 15.42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002552/0.2104, allocations: 1.026 MB / 364 MB, free: 14.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.2105, allocations: 0 / 364 MB, free: 14.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.2116, allocations: 0.5277 MB / 364.5 MB, free: 13.79 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.2127, allocations: 178.8 kB / 364.7 MB, free: 13.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.2156, allocations: 1.518 MB / 366.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005777/0.2162, allocations: 0.8879 MB / 367.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.2164, allocations: 59.42 kB / 367.2 MB, free: 11.1 MB / 318.1 MB Notification: Performance of SimCode: time 1.232e-06/0.2164, allocations: 0 / 367.2 MB, free: 11.1 MB / 318.1 MB Notification: Performance of Templates: time 0.2409/0.4573, allocations: 15.37 MB / 382.5 MB, free: 52.84 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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 OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValveCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValveCalcHelperMain.o] Error 1