Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001166/0.001166, allocations: 89.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001853/0.001853, allocations: 201.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.606/1.606, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.0002649, allocations: 8 kB / 307.3 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1403, allocations: 51.5 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005367/0.1457, allocations: 4.229 MB / 363 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003476/0.1492, allocations: 1.305 MB / 364.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004577/0.1497, allocations: 11.94 kB / 364.3 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.1502, allocations: 103.2 kB / 364.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009405/0.1511, allocations: 305.8 kB / 364.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005817/0.1517, allocations: 155.8 kB / 364.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.1529, allocations: 0.9096 MB / 365.8 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004595/0.1534, allocations: 261.3 kB / 366.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006693/0.1541, allocations: 366.7 kB / 366.4 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005221/0.1546, allocations: 398.3 kB / 366.8 MB, free: 6.066 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.1547, allocations: 56 kB / 366.9 MB, free: 6.012 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.1549, allocations: 60 kB / 366.9 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.155, allocations: 159.4 kB / 367.1 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.1553, allocations: 181.3 kB / 367.3 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000837/0.1561, allocations: 0.7829 MB / 368 MB, free: 4.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.1561, allocations: 4 kB / 368 MB, free: 4.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1561, allocations: 0 / 368 MB, free: 4.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1562, allocations: 0 / 368 MB, free: 4.824 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.001986/0.1582, allocations: 1.096 MB / 369.1 MB, free: 3.664 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1582, allocations: 8.031 kB / 369.1 MB, free: 3.656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.1584, allocations: 98.88 kB / 369.2 MB, free: 3.559 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007181/0.1591, allocations: 495.7 kB / 369.7 MB, free: 3.035 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.1593, allocations: 104.7 kB / 369.8 MB, free: 2.918 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.357e-05/0.1594, allocations: 48 kB / 369.9 MB, free: 2.871 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.1607, allocations: 0.8082 MB / 370.7 MB, free: 1.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.1608, allocations: 3.906 kB / 370.7 MB, free: 1.953 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.274e-05/0.1608, allocations: 24 kB / 370.7 MB, free: 1.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.1608, allocations: 16 kB / 370.7 MB, free: 1.914 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.162, allocations: 0.5269 MB / 371.3 MB, free: 1.391 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.2699/0.4319, allocations: 2.15 MB / 373.4 MB, free: 18.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.4334, allocations: 0.5703 MB / 374 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007034/0.4341, allocations: 272.4 kB / 374.2 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.169e-05/0.4342, allocations: 13.72 kB / 374.3 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009915/0.4352, allocations: 338.9 kB / 374.6 MB, free: 18.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=56): time 3.046e-06/0.4352, allocations: 0 / 374.6 MB, free: 18.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.005271/0.4405, allocations: 1.592 MB / 376.2 MB, free: 18.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002619/0.4408, allocations: 0.8214 MB / 377 MB, free: 17.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000896/0.4417, allocations: 0.588 MB / 377.6 MB, free: 17.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-05/0.4418, allocations: 40.48 kB / 377.6 MB, free: 17.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.4421, allocations: 339.9 kB / 378 MB, free: 16.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.4422, allocations: 193.1 kB / 378.1 MB, free: 16.85 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.4423, allocations: 10.38 kB / 378.2 MB, free: 16.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4424, allocations: 375.9 kB / 378.5 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000573/0.443, allocations: 227.5 kB / 378.7 MB, free: 16.44 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008532/0.4438, allocations: 0.5322 MB / 379.3 MB, free: 16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006758/0.4445, allocations: 322.9 kB / 379.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.4446, allocations: 1.312 kB / 379.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002131/0.4467, allocations: 0.8709 MB / 380.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.527e-05/0.4468, allocations: 59.47 kB / 380.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.4468, allocations: 2.812 kB / 380.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007623/0.4475, allocations: 232.1 kB / 380.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.4482, allocations: 119.1 kB / 380.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006144/0.4543, allocations: 4.295 MB / 385.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009586/0.4553, allocations: 93.8 kB / 385.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/0.4554, allocations: 25.94 kB / 385.3 MB, free: 11.9 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.000448/0.4558, allocations: 210.6 kB / 385.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.456, allocations: 82.88 kB / 385.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.4561, allocations: 77.77 kB / 385.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.4562, allocations: 9.781 kB / 385.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4562, allocations: 4.922 kB / 385.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002074/0.4583, allocations: 1.101 MB / 386.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/0.4612, allocations: 1.573 MB / 388.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4612, allocations: 0 / 388.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005805/0.4618, allocations: 113.2 kB / 388.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005501/0.4624, allocations: 174.5 kB / 388.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.4624, allocations: 12.44 kB / 388.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004062/0.4665, allocations: 3.663 MB / 392.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4665, allocations: 0.8438 kB / 392.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/0.469, allocations: 1.073 MB / 393.4 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/0.4694, allocations: 213.7 kB / 393.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.4696, allocations: 15.31 kB / 393.6 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005347/0.4701, allocations: 57.47 kB / 393.6 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.4703, allocations: 50.88 kB / 393.7 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.4704, allocations: 21.28 kB / 393.7 MB, free: 6.195 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000563/0.4709, allocations: 410.5 kB / 394.1 MB, free: 6.008 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4709, allocations: 0 / 394.1 MB, free: 6.008 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001023/0.472, allocations: 252.3 kB / 394.4 MB, free: 5.969 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.0002048/0.4722, allocations: 120.6 kB / 394.5 MB, free: 5.867 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002373/0.4746, allocations: 1.062 MB / 395.5 MB, free: 5.266 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.4746, allocations: 6.062 kB / 395.5 MB, free: 5.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009435/0.4755, allocations: 0.5533 MB / 396.1 MB, free: 4.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009756/0.4765, allocations: 204.8 kB / 396.3 MB, free: 4.844 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.4792, allocations: 1.584 MB / 397.9 MB, free: 3.793 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.4796, allocations: 0.9171 MB / 398.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.4798, allocations: 59.14 kB / 398.9 MB, free: 2.98 MB / 302.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4798, allocations: 0 / 398.9 MB, free: 2.98 MB / 302.1 MB Notification: Performance of Templates: time 0.02183/0.5016, allocations: 16.05 MB / 414.9 MB, free: 5.227 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPumpCalcHelperMain.o OMCppModelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPumpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPumpCalcHelperMain.o] Error 1