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.001023/0.001023, allocations: 101.4 kB / 17.96 MB, free: 5.762 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.001311/0.001311, allocations: 178 kB / 18.86 MB, free: 4.902 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.029/2.029, allocations: 205.4 MB / 225 MB, free: 13.08 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.0004981/0.0004981, allocations: 8 kB / 282 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1216, allocations: 47.58 MB / 329.6 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005019/0.1266, allocations: 4.003 MB / 333.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.1287, allocations: 1.17 MB / 334.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.129, allocations: 8 kB / 334.8 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.1293, allocations: 111.3 kB / 334.9 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004879/0.1298, allocations: 234.1 kB / 335.1 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.1302, allocations: 171.8 kB / 335.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00093/0.1312, allocations: 0.8905 MB / 336.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.1315, allocations: 216.8 kB / 336.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/0.1319, allocations: 330.6 kB / 336.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004226/0.1324, allocations: 370.4 kB / 337.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.777e-05/0.1325, allocations: 51.94 kB / 337.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1326, allocations: 52 kB / 337.2 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.1327, allocations: 143.4 kB / 337.3 MB, free: 12.01 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000411/0.1331, allocations: 407.8 kB / 337.7 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006394/0.1338, allocations: 0.666 MB / 338.4 MB, free: 10.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1338, allocations: 3.938 kB / 338.4 MB, free: 10.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1338, allocations: 4 kB / 338.4 MB, free: 10.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1338, allocations: 0 / 338.4 MB, free: 10.93 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.001968/0.1358, allocations: 0.9887 MB / 339.4 MB, free: 9.875 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.1358, allocations: 11.97 kB / 339.4 MB, free: 9.863 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.136, allocations: 88 kB / 339.5 MB, free: 9.777 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006841/0.1367, allocations: 484.6 kB / 340 MB, free: 9.262 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.1369, allocations: 104.9 kB / 340.1 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.928e-05/0.137, allocations: 44.38 kB / 340.1 MB, free: 9.105 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.1382, allocations: 0.6672 MB / 340.8 MB, free: 8.363 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.1382, allocations: 3.906 kB / 340.8 MB, free: 8.359 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.684e-05/0.1383, allocations: 20 kB / 340.8 MB, free: 8.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.1383, allocations: 12 kB / 340.8 MB, free: 8.328 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.1394, allocations: 479.7 kB / 341.3 MB, free: 7.863 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.003242/0.1427, allocations: 1.971 MB / 343.2 MB, free: 5.762 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.1447, allocations: 0.7256 MB / 344 MB, free: 5.012 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005837/0.1453, allocations: 282 kB / 344.2 MB, free: 4.734 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.1453, allocations: 4.438 kB / 344.2 MB, free: 4.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.1454, allocations: 47 kB / 344.3 MB, free: 4.676 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 2.375e-06/0.1454, allocations: 0 / 344.3 MB, free: 4.676 MB / 286.1 MB Notification: Performance of matching and sorting (n=54): time 0.005385/0.1508, allocations: 1.601 MB / 345.9 MB, free: 3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003529/0.1511, allocations: 0.5683 MB / 346.5 MB, free: 2.297 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007506/0.1519, allocations: 0.5381 MB / 347 MB, free: 1.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/0.152, allocations: 41.7 kB / 347 MB, free: 1.703 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.1522, allocations: 276.5 kB / 347.3 MB, free: 1.43 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.1524, allocations: 189.3 kB / 347.5 MB, free: 1.242 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.1525, allocations: 45.69 kB / 347.5 MB, free: 1.191 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1527, allocations: 374.8 kB / 347.9 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005401/0.1532, allocations: 205 kB / 348.1 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000721/0.154, allocations: 432.2 kB / 348.5 MB, free: 116 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.1551, allocations: 0.5161 MB / 349 MB, free: 15.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1551, allocations: 4 kB / 349 MB, free: 15.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002324/0.1574, allocations: 0.8614 MB / 349.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/0.1575, allocations: 33.7 kB / 349.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1575, allocations: 0 / 349.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.1585, allocations: 234.4 kB / 350.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/0.1592, allocations: 131.8 kB / 350.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007504/0.1668, allocations: 5.246 MB / 355.5 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/0.1675, allocations: 87.67 kB / 355.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.126e-05/0.1676, allocations: 23.98 kB / 355.7 MB, free: 8.527 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.0003668/0.168, allocations: 189.8 kB / 355.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.1681, allocations: 71.16 kB / 355.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/0.1705, allocations: 0.8358 MB / 356.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.1705, allocations: 8 kB / 356.8 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.1705, allocations: 0 / 356.8 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002339/0.1728, allocations: 1.085 MB / 357.8 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003336/0.1762, allocations: 1.549 MB / 359.4 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.1762, allocations: 0 / 359.4 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007306/0.1769, allocations: 143.8 kB / 359.5 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008275/0.1778, allocations: 181.7 kB / 359.7 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.1778, allocations: 19.98 kB / 359.7 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005157/0.183, allocations: 3.532 MB / 363.3 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.183, allocations: 7.938 kB / 363.3 MB, free: 440 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00292/0.1859, allocations: 1.136 MB / 364.4 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/0.1863, allocations: 204.2 kB / 364.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-05/0.1864, allocations: 15.98 kB / 364.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005056/0.1869, allocations: 43.97 kB / 364.7 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.187, allocations: 40.5 kB / 364.7 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/0.1871, allocations: 19.98 kB / 364.7 MB, free: 14.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000561/0.1876, allocations: 382.8 kB / 365.1 MB, free: 14.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1877, allocations: 0 / 365.1 MB, free: 14.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008499/0.1885, allocations: 227.7 kB / 365.3 MB, free: 14.34 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.0001971/0.1887, allocations: 115.2 kB / 365.4 MB, free: 14.22 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002383/0.1911, allocations: 1.069 MB / 366.5 MB, free: 13.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1911, allocations: 0 / 366.5 MB, free: 13.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.1922, allocations: 0.5435 MB / 367 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009118/0.1931, allocations: 178.6 kB / 367.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.1957, allocations: 1.626 MB / 368.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.1962, allocations: 0.8956 MB / 369.7 MB, free: 9.781 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.1964, allocations: 59.42 kB / 369.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1964, allocations: 0 / 369.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of Templates: time 0.261/0.4575, allocations: 15.29 MB / 385.1 MB, free: 51.68 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