Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000895/0.0008949, allocations: 101 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.001213/0.001214, allocations: 179 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 1.954/1.954, allocations: 205.4 MB / 225 MB, free: 13.07 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.0006145/0.0006147, allocations: 12 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1397, allocations: 47.58 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005526/0.1453, allocations: 4.444 MB / 334.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003153/0.1485, allocations: 1.383 MB / 335.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003378/0.1488, allocations: 8 kB / 335.4 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004804/0.1493, allocations: 131.2 kB / 335.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000798/0.1501, allocations: 297.8 kB / 335.9 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.1506, allocations: 187.8 kB / 336.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.1517, allocations: 0.9798 MB / 337 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004426/0.1521, allocations: 265.9 kB / 337.3 MB, free: 12.01 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005102/0.1527, allocations: 362.6 kB / 337.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005083/0.1532, allocations: 414.1 kB / 338 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.1533, allocations: 56 kB / 338.1 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1535, allocations: 56 kB / 338.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.1537, allocations: 167.3 kB / 338.3 MB, free: 10.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005561/0.1542, allocations: 463.6 kB / 338.8 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008454/0.1551, allocations: 0.7907 MB / 339.6 MB, free: 9.723 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.1551, allocations: 3.938 kB / 339.6 MB, free: 9.719 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.22e-06/0.1551, allocations: 4 kB / 339.6 MB, free: 9.715 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1551, allocations: 0 / 339.6 MB, free: 9.715 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002234/0.1574, allocations: 1.076 MB / 340.6 MB, free: 8.574 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.1574, allocations: 12.03 kB / 340.7 MB, free: 8.562 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.1577, allocations: 95.91 kB / 340.8 MB, free: 8.469 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008286/0.1585, allocations: 0.5081 MB / 341.3 MB, free: 7.918 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.1587, allocations: 101.3 kB / 341.4 MB, free: 7.805 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.1588, allocations: 52.38 kB / 341.4 MB, free: 7.754 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.1603, allocations: 0.8161 MB / 342.2 MB, free: 6.832 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.1604, allocations: 4 kB / 342.2 MB, free: 6.828 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/0.1605, allocations: 24 kB / 342.3 MB, free: 6.805 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.1605, allocations: 12 kB / 342.3 MB, free: 6.793 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.1618, allocations: 0.527 MB / 342.8 MB, free: 6.27 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.003672/0.1655, allocations: 2.177 MB / 345 MB, free: 3.953 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.1669, allocations: 0.5721 MB / 345.5 MB, free: 3.367 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005999/0.1675, allocations: 274.4 kB / 345.8 MB, free: 3.098 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.576e-05/0.1676, allocations: 21.62 kB / 345.8 MB, free: 3.078 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008207/0.1684, allocations: 335 kB / 346.2 MB, free: 2.738 MB / 286.1 MB Notification: Performance of pre-optimization done (n=56): time 2.174e-06/0.1684, allocations: 0 / 346.2 MB, free: 2.738 MB / 286.1 MB Notification: Performance of matching and sorting (n=56): time 0.005054/0.1735, allocations: 1.602 MB / 347.8 MB, free: 1.086 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000553/0.1741, allocations: 0.8272 MB / 348.6 MB, free: 60 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008046/0.1749, allocations: 0.5862 MB / 349.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.825e-05/0.175, allocations: 41.7 kB / 349.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.1753, allocations: 340.7 kB / 349.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.1755, allocations: 185.3 kB / 349.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.076e-05/0.1756, allocations: 53.69 kB / 349.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.1758, allocations: 374.8 kB / 350.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005859/0.1764, allocations: 229 kB / 350.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008852/0.1773, allocations: 0.5442 MB / 350.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.1785, allocations: 0.5966 MB / 351.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1785, allocations: 0 / 351.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002257/0.1808, allocations: 0.9559 MB / 352.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/0.1809, allocations: 59.41 kB / 352.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.1809, allocations: 0 / 352.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008001/0.1817, allocations: 225.6 kB / 352.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/0.1823, allocations: 131.7 kB / 352.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007127/0.1895, allocations: 4.26 MB / 357.1 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009221/0.1904, allocations: 91.48 kB / 357.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.115e-05/0.1905, allocations: 27.98 kB / 357.3 MB, free: 6.879 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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: 2 * 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 {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004998/0.191, allocations: 213.7 kB / 357.5 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.1912, allocations: 83.06 kB / 357.5 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.1914, allocations: 74.86 kB / 357.6 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1914, allocations: 8 kB / 357.6 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.1914, allocations: 0 / 357.6 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002229/0.1936, allocations: 1.109 MB / 358.7 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/0.1969, allocations: 1.572 MB / 360.3 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.1969, allocations: 0 / 360.3 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006101/0.1975, allocations: 115.9 kB / 360.4 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005899/0.1981, allocations: 185.9 kB / 360.6 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.1981, allocations: 8 kB / 360.6 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005312/0.2035, allocations: 3.662 MB / 364.3 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.2035, allocations: 0 / 364.3 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.2062, allocations: 1.082 MB / 365.3 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/0.2066, allocations: 224.2 kB / 365.6 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/0.2068, allocations: 15.94 kB / 365.6 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000708/0.2075, allocations: 55.95 kB / 365.6 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.2077, allocations: 48.48 kB / 365.7 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.2078, allocations: 19.98 kB / 365.7 MB, free: 13.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006257/0.2084, allocations: 419.1 kB / 366.1 MB, free: 13.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2084, allocations: 0 / 366.1 MB, free: 13.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001125/0.2095, allocations: 247.8 kB / 366.4 MB, free: 13.27 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000251/0.2098, allocations: 131 kB / 366.5 MB, free: 13.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002553/0.2124, allocations: 1.031 MB / 367.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.2124, allocations: 0.5 kB / 367.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.2135, allocations: 0.559 MB / 368.1 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.2146, allocations: 203.1 kB / 368.3 MB, free: 11.26 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/0.2185, allocations: 1.652 MB / 369.9 MB, free: 9.582 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008699/0.2194, allocations: 0.9121 MB / 370.8 MB, free: 8.645 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.2196, allocations: 55.44 kB / 370.9 MB, free: 8.59 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2196, allocations: 0 / 370.9 MB, free: 8.59 MB / 318.1 MB Notification: Performance of Templates: time 0.2752/0.4949, allocations: 16.01 MB / 386.9 MB, free: 50.55 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.WaterPumpCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPumpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPumpCalcHelperMain.o] Error 1