Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 88.39 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001649/0.001649, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003353, allocations: 8 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1476, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.00588/0.1536, allocations: 3.811 MB / 362.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.1561, allocations: 1.126 MB / 363.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002442/0.1563, allocations: 4 kB / 363.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.1567, allocations: 103.2 kB / 363.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005006/0.1572, allocations: 230.1 kB / 364 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.1576, allocations: 139.8 kB / 364.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009083/0.1585, allocations: 0.8319 MB / 365 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003594/0.1588, allocations: 212.4 kB / 365.2 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004826/0.1593, allocations: 326.8 kB / 365.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003968/0.1597, allocations: 354.6 kB / 365.9 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.192e-05/0.1598, allocations: 51.94 kB / 365.9 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.16, allocations: 52 kB / 366 MB, free: 6.891 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.1601, allocations: 143.5 kB / 366.1 MB, free: 6.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.1603, allocations: 165.3 kB / 366.3 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006963/0.161, allocations: 0.6741 MB / 367 MB, free: 5.906 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.161, allocations: 0 / 367 MB, free: 5.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.161, allocations: 0 / 367 MB, free: 5.906 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.161, allocations: 0 / 367 MB, free: 5.906 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001859/0.1629, allocations: 1.004 MB / 368 MB, free: 4.844 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.163, allocations: 8.031 kB / 368 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002681/0.1632, allocations: 91.06 kB / 368.1 MB, free: 4.746 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007489/0.164, allocations: 459.8 kB / 368.5 MB, free: 4.258 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.1642, allocations: 92.36 kB / 368.6 MB, free: 4.156 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/0.1643, allocations: 55.98 kB / 368.7 MB, free: 4.102 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.1655, allocations: 0.659 MB / 369.3 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.1655, allocations: 0 / 369.3 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/0.1656, allocations: 20 kB / 369.3 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.1656, allocations: 12 kB / 369.3 MB, free: 3.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.1667, allocations: 479.6 kB / 369.8 MB, free: 2.875 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.00324/0.1699, allocations: 1.971 MB / 371.8 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.1718, allocations: 0.7059 MB / 372.5 MB, free: 36 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2511/0.423, allocations: 272 kB / 372.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.892e-05/0.4231, allocations: 12.22 kB / 372.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.4231, allocations: 51.59 kB / 372.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.735e-06/0.4231, allocations: 0 / 372.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.005455/0.4286, allocations: 1.593 MB / 374.4 MB, free: 19.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002359/0.4289, allocations: 0.5626 MB / 375 MB, free: 18.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009695/0.4299, allocations: 0.5335 MB / 375.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.892e-05/0.43, allocations: 39.98 kB / 375.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.4303, allocations: 286.7 kB / 375.8 MB, free: 18.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.4306, allocations: 189 kB / 376 MB, free: 18.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.4306, allocations: 10.34 kB / 376 MB, free: 18.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.4308, allocations: 378.8 kB / 376.4 MB, free: 17.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005765/0.4314, allocations: 204.6 kB / 376.6 MB, free: 17.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007043/0.4321, allocations: 430.9 kB / 377 MB, free: 17.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005984/0.4327, allocations: 269.6 kB / 377.3 MB, free: 17.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4327, allocations: 0 / 377.3 MB, free: 17.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002383/0.4351, allocations: 0.857 MB / 378.1 MB, free: 17.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/0.4352, allocations: 35.81 kB / 378.2 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4352, allocations: 1.797 kB / 378.2 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009606/0.4362, allocations: 226.5 kB / 378.4 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006979/0.4369, allocations: 136.9 kB / 378.5 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00673/0.4436, allocations: 5.233 MB / 383.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007859/0.4444, allocations: 83.48 kB / 383.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.4445, allocations: 20.83 kB / 383.9 MB, free: 12.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003367/0.4448, allocations: 202.9 kB / 384.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.445, allocations: 66.75 kB / 384.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/0.4473, allocations: 0.8244 MB / 385 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.4474, allocations: 4.844 kB / 385 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.4474, allocations: 1.125 kB / 385 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002052/0.4494, allocations: 1.082 MB / 386 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003509/0.453, allocations: 1.547 MB / 387.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.453, allocations: 1.062 kB / 387.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007394/0.4537, allocations: 143.7 kB / 387.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008013/0.4545, allocations: 182.1 kB / 387.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.805e-05/0.4546, allocations: 9.984 kB / 387.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004632/0.4592, allocations: 3.545 MB / 391.5 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4592, allocations: 0 / 391.5 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003025/0.4623, allocations: 1.129 MB / 392.6 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004399/0.4627, allocations: 206.3 kB / 392.8 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.4629, allocations: 21.8 kB / 392.8 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005331/0.4634, allocations: 42.12 kB / 392.9 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.4636, allocations: 41.11 kB / 392.9 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/0.4636, allocations: 16.14 kB / 392.9 MB, free: 6.824 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006579/0.4643, allocations: 381.8 kB / 393.3 MB, free: 6.648 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4643, allocations: 4 kB / 393.3 MB, free: 6.645 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001128/0.4654, allocations: 217.6 kB / 393.5 MB, free: 6.613 MB / 302.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 (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 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002052/0.4657, allocations: 116.8 kB / 393.6 MB, free: 6.508 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002535/0.4682, allocations: 1.063 MB / 394.7 MB, free: 5.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.4682, allocations: 1.156 kB / 394.7 MB, free: 5.906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.4695, allocations: 0.5528 MB / 395.2 MB, free: 5.566 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.4708, allocations: 177.1 kB / 395.4 MB, free: 5.504 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.4744, allocations: 1.575 MB / 397 MB, free: 4.566 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/0.475, allocations: 0.8877 MB / 397.9 MB, free: 3.789 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.4752, allocations: 54.05 kB / 397.9 MB, free: 3.777 MB / 302.1 MB Notification: Performance of SimCode: time 1.723e-06/0.4752, allocations: 4 kB / 397.9 MB, free: 3.773 MB / 302.1 MB Notification: Performance of Templates: time 0.0229/0.4981, allocations: 15.32 MB / 413.2 MB, free: 6.988 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValveCalcHelperMain.o OMCppModelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValveCalcHelperMain.o] Error 1