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.001541/0.001541, 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.001583/0.001583, 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.785/1.785, allocations: 205.1 MB / 224.6 MB, free: 12.5 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.001357/0.001357, allocations: 51.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1512, allocations: 46.64 MB / 327.3 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.008825/0.1601, allocations: 4.837 MB / 332.1 MB, free: 32 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.163, allocations: 1.399 MB / 333.5 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002906/0.1633, allocations: 8 kB / 333.5 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004845/0.1639, allocations: 123.2 kB / 333.6 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007281/0.1646, allocations: 301.8 kB / 333.9 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.1651, allocations: 195.7 kB / 334.1 MB, free: 14 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.1663, allocations: 0.976 MB / 335.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004621/0.1667, allocations: 273.9 kB / 335.3 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004673/0.1672, allocations: 370.6 kB / 335.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004937/0.1677, allocations: 434.1 kB / 336.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.1679, allocations: 60 kB / 336.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.168, allocations: 64 kB / 336.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.1682, allocations: 179.2 kB / 336.4 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004832/0.1687, allocations: 445.9 kB / 336.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007849/0.1695, allocations: 0.8027 MB / 337.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1695, allocations: 3.938 kB / 337.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1695, allocations: 0 / 337.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.1696, allocations: 4 kB / 337.7 MB, free: 10.4 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.002532/0.1721, allocations: 1.22 MB / 338.9 MB, free: 9.117 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.1722, allocations: 11.97 kB / 338.9 MB, free: 9.105 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.1724, allocations: 99.81 kB / 339 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007869/0.1732, allocations: 0.5082 MB / 339.5 MB, free: 8.457 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.1733, allocations: 101.3 kB / 339.6 MB, free: 8.344 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.533e-05/0.1734, allocations: 52.38 kB / 339.7 MB, free: 8.293 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.1749, allocations: 0.8005 MB / 340.5 MB, free: 7.387 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.175, allocations: 3.906 kB / 340.5 MB, free: 7.383 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.64e-05/0.1751, allocations: 24 kB / 340.5 MB, free: 7.359 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.1751, allocations: 12 kB / 340.5 MB, free: 7.348 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.1763, allocations: 0.5035 MB / 341 MB, free: 6.848 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.003729/0.1801, allocations: 2.154 MB / 343.2 MB, free: 4.555 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.1814, allocations: 0.5298 MB / 343.7 MB, free: 4.016 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006641/0.1821, allocations: 266.4 kB / 343.9 MB, free: 3.754 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.573e-05/0.1822, allocations: 20.91 kB / 344 MB, free: 3.734 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009165/0.1831, allocations: 315 kB / 344.3 MB, free: 3.414 MB / 286.1 MB Notification: Performance of pre-optimization done (n=56): time 1.913e-06/0.1831, allocations: 0 / 344.3 MB, free: 3.414 MB / 286.1 MB Notification: Performance of matching and sorting (n=56): time 0.005073/0.1882, allocations: 1.493 MB / 345.8 MB, free: 1.871 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000568/0.1888, allocations: 0.8233 MB / 346.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000943/0.1897, allocations: 0.5863 MB / 347.2 MB, free: 260 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.973e-05/0.1898, allocations: 37.7 kB / 347.2 MB, free: 216 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000354/0.1901, allocations: 340.8 kB / 347.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.1903, allocations: 185.2 kB / 347.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.1905, allocations: 126.2 kB / 347.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002547/0.1908, allocations: 386.8 kB / 348.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005913/0.1914, allocations: 209 kB / 348.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009573/0.1924, allocations: 0.5169 MB / 349 MB, free: 14.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.1936, allocations: 0.5692 MB / 349.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1936, allocations: 4 kB / 349.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002234/0.1959, allocations: 0.9011 MB / 350.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.234e-05/0.196, allocations: 67.39 kB / 350.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.196, allocations: 0 / 350.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007881/0.1968, allocations: 221.5 kB / 350.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.1974, allocations: 115.8 kB / 350.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006817/0.2042, allocations: 4.193 MB / 355 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007091/0.2049, allocations: 83.48 kB / 355.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.304e-05/0.205, allocations: 20.09 kB / 355.1 MB, free: 7.809 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.0003873/0.2054, allocations: 221.6 kB / 355.3 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.2056, allocations: 79.16 kB / 355.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.2057, allocations: 74.86 kB / 355.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.2058, allocations: 8 kB / 355.5 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2058, allocations: 0 / 355.5 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00229/0.2081, allocations: 1.054 MB / 356.5 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.2111, allocations: 1.533 MB / 358.1 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.2111, allocations: 3.984 kB / 358.1 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/0.2117, allocations: 103.9 kB / 358.2 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005779/0.2123, allocations: 177.5 kB / 358.4 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.2124, allocations: 15.98 kB / 358.4 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00546/0.2178, allocations: 3.603 MB / 362 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2178, allocations: 0 / 362 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/0.2205, allocations: 1.023 MB / 363 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/0.2211, allocations: 224 kB / 363.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.2213, allocations: 19.94 kB / 363.2 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006933/0.222, allocations: 43.95 kB / 363.3 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.2222, allocations: 48.55 kB / 363.3 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.2223, allocations: 20 kB / 363.3 MB, free: 15.06 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006833/0.223, allocations: 419.1 kB / 363.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.223, allocations: 4 kB / 363.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001185/0.2242, allocations: 247.8 kB / 364 MB, free: 14.41 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.0002655/0.2244, allocations: 119.1 kB / 364.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002453/0.2269, allocations: 1.007 MB / 365.1 MB, free: 13.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/0.2269, allocations: 4 kB / 365.1 MB, free: 13.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.228, allocations: 0.5355 MB / 365.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.2292, allocations: 199.8 kB / 365.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.2329, allocations: 1.59 MB / 367.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009393/0.2339, allocations: 0.916 MB / 368.4 MB, free: 9.914 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.2341, allocations: 59.42 kB / 368.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2341, allocations: 0 / 368.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of Templates: time 0.2796/0.5137, allocations: 16.08 MB / 384.5 MB, free: 52.37 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