Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.0.0_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.0009108/0.0009109, allocations: 93.27 kB / 16.95 MB, free: 5.582 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.00104/0.00104, allocations: 190.8 kB / 17.85 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 241.8 MB, free: 356 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.000285, allocations: 4.5 kB / 301.4 MB, free: 6.473 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 50.41 MB / 351.9 MB, free: 4.039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005864/0.1438, allocations: 4.212 MB / 356.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003231/0.1471, allocations: 1.286 MB / 357.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009526/0.1481, allocations: 4 kB / 357.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006555/0.1488, allocations: 95.23 kB / 357.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.1502, allocations: 301.8 kB / 357.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007492/0.1509, allocations: 163.7 kB / 357.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001669/0.1526, allocations: 0.8975 MB / 358.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006197/0.1532, allocations: 257.6 kB / 359.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009209/0.1542, allocations: 358.8 kB / 359.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.1552, allocations: 406.2 kB / 359.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002797/0.1555, allocations: 56 kB / 359.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.1559, allocations: 60 kB / 359.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002744/0.1561, allocations: 163.4 kB / 360.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004501/0.1566, allocations: 185.3 kB / 360.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009439/0.1575, allocations: 0.7829 MB / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.1576, allocations: 0 / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1576, allocations: 0 / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.377e-05/0.1576, allocations: 0 / 361 MB, free: 10.79 MB / 302.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.002667/0.1603, allocations: 1.092 MB / 362.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.1604, allocations: 12.03 kB / 362.1 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003371/0.1607, allocations: 98.88 kB / 362.2 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.1617, allocations: 491.7 kB / 362.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.1619, allocations: 104.7 kB / 362.8 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.1621, allocations: 52 kB / 362.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.1637, allocations: 0.8082 MB / 363.7 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.1637, allocations: 3.906 kB / 363.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-05/0.1638, allocations: 27.95 kB / 363.7 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.1638, allocations: 12 kB / 363.7 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.1651, allocations: 0.5309 MB / 364.3 MB, free: 7.352 MB / 302.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.003644/0.1687, allocations: 2.162 MB / 366.4 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.17, allocations: 0.5654 MB / 367 MB, free: 4.469 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005724/0.1706, allocations: 282.3 kB / 367.3 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.667e-05/0.1707, allocations: 13.59 kB / 367.3 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008357/0.1715, allocations: 339 kB / 367.6 MB, free: 3.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=56): time 2.535e-06/0.1715, allocations: 0 / 367.6 MB, free: 3.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.004825/0.1764, allocations: 1.587 MB / 369.2 MB, free: 2.199 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004583/0.1769, allocations: 0.8272 MB / 370 MB, free: 1.176 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009577/0.1778, allocations: 0.59 MB / 370.6 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.178, allocations: 41.7 kB / 370.7 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/0.1783, allocations: 336.7 kB / 371 MB, free: 204 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.1785, allocations: 185.3 kB / 371.2 MB, free: 12 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.1786, allocations: 12 kB / 371.2 MB, free: 0 / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.2884/0.467, allocations: 372.1 kB / 371.5 MB, free: 24.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008844/0.468, allocations: 224.7 kB / 371.8 MB, free: 24.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.4691, allocations: 0.5321 MB / 372.3 MB, free: 24.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007399/0.4699, allocations: 326 kB / 372.6 MB, free: 24.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.4699, allocations: 1.75 kB / 372.6 MB, free: 24.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002408/0.4723, allocations: 0.863 MB / 373.5 MB, free: 24.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.309e-05/0.4724, allocations: 66.62 kB / 373.5 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.4724, allocations: 2.844 kB / 373.5 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000807/0.4732, allocations: 233.1 kB / 373.8 MB, free: 24.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/0.4738, allocations: 119.9 kB / 373.9 MB, free: 24.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006436/0.4803, allocations: 4.291 MB / 378.2 MB, free: 21.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008466/0.4812, allocations: 88.03 kB / 378.3 MB, free: 21.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.4812, allocations: 20.34 kB / 378.3 MB, free: 21.13 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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,oneWayValve.backward) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {9 3,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.000333/0.4816, allocations: 216.5 kB / 378.5 MB, free: 20.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.4817, allocations: 80.31 kB / 378.6 MB, free: 20.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.4818, allocations: 79.16 kB / 378.6 MB, free: 20.87 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.4818, allocations: 9.578 kB / 378.7 MB, free: 20.87 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4818, allocations: 0 / 378.7 MB, free: 20.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002025/0.4839, allocations: 1.109 MB / 379.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.4867, allocations: 1.574 MB / 381.3 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.4867, allocations: 0.7969 kB / 381.3 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005867/0.4873, allocations: 116.1 kB / 381.5 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005472/0.4879, allocations: 177.2 kB / 381.6 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.4879, allocations: 13.44 kB / 381.6 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004393/0.4923, allocations: 3.657 MB / 385.3 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4924, allocations: 2.203 kB / 385.3 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.4951, allocations: 1.075 MB / 386.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/0.4957, allocations: 209.3 kB / 386.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.4958, allocations: 20.7 kB / 386.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006457/0.4964, allocations: 54.66 kB / 386.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/0.4967, allocations: 50.84 kB / 386.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/0.4967, allocations: 20.77 kB / 386.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007843/0.4975, allocations: 413.5 kB / 387.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4975, allocations: 0 / 387.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001258/0.4988, allocations: 256.7 kB / 387.4 MB, free: 15.22 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 3,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002454/0.499, allocations: 120.3 kB / 387.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002437/0.5015, allocations: 1.049 MB / 388.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.433e-06/0.5015, allocations: 1 kB / 388.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009565/0.5025, allocations: 0.563 MB / 389.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009327/0.5034, allocations: 206.9 kB / 389.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.5062, allocations: 1.576 MB / 390.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.5067, allocations: 0.9215 MB / 391.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.5069, allocations: 61.34 kB / 391.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5069, allocations: 0 / 391.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of Templates: time 0.02012/0.527, allocations: 16.05 MB / 407.9 MB, free: 112 kB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPumpCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPumpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPumpCalcHelperMain.o] Error 1