Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008161/0.0008162, allocations: 84.14 kB / 17.58 MB, free: 5.758 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.0009051/0.0009051, allocations: 190.4 kB / 18.48 MB, free: 5.203 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.699/1.699, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004521/0.0004521, allocations: 12 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1147, allocations: 47.58 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004648/0.1195, allocations: 3.799 MB / 332.8 MB, free: 260 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.1217, allocations: 1.131 MB / 333.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.122, allocations: 8 kB / 333.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.1223, allocations: 83.3 kB / 334 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005539/0.1228, allocations: 234.1 kB / 334.2 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.1232, allocations: 147.8 kB / 334.4 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008282/0.124, allocations: 0.828 MB / 335.2 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/0.1244, allocations: 200.6 kB / 335.4 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003766/0.1247, allocations: 314.8 kB / 335.7 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004458/0.1252, allocations: 362.5 kB / 336.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.235e-05/0.1253, allocations: 48 kB / 336.1 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.1255, allocations: 52 kB / 336.2 MB, free: 12.85 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.1256, allocations: 139.5 kB / 336.3 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.1258, allocations: 165.3 kB / 336.5 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006155/0.1264, allocations: 0.6622 MB / 337.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1264, allocations: 4 kB / 337.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1264, allocations: 0 / 337.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1264, allocations: 0 / 337.1 MB, free: 11.88 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001789/0.1282, allocations: 1 MB / 338.1 MB, free: 10.81 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1283, allocations: 8.031 kB / 338.1 MB, free: 10.8 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.1284, allocations: 91.06 kB / 338.2 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006785/0.1291, allocations: 463.7 kB / 338.7 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.1293, allocations: 96.39 kB / 338.8 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.681e-05/0.1294, allocations: 51.98 kB / 338.8 MB, free: 10.06 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.1306, allocations: 0.66 MB / 339.5 MB, free: 9.328 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.1306, allocations: 0 / 339.5 MB, free: 9.328 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.163e-05/0.1307, allocations: 24 kB / 339.5 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.1307, allocations: 12 kB / 339.5 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.1317, allocations: 475.6 kB / 340 MB, free: 8.832 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.002982/0.1347, allocations: 1.979 MB / 342 MB, free: 6.723 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.1365, allocations: 0.7136 MB / 342.7 MB, free: 5.984 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005627/0.137, allocations: 270.7 kB / 342.9 MB, free: 5.719 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.861e-05/0.1371, allocations: 16.42 kB / 343 MB, free: 5.703 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.1372, allocations: 46.94 kB / 343 MB, free: 5.648 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 1.773e-06/0.1372, allocations: 0 / 343 MB, free: 5.648 MB / 286.1 MB Notification: Performance of matching and sorting (n=54): time 0.004542/0.1417, allocations: 1.597 MB / 344.6 MB, free: 3.977 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002866/0.142, allocations: 0.5605 MB / 345.2 MB, free: 3.281 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006213/0.1426, allocations: 0.5342 MB / 345.7 MB, free: 2.738 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.452e-05/0.1427, allocations: 41.7 kB / 345.7 MB, free: 2.691 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.143, allocations: 288.6 kB / 346 MB, free: 2.406 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.1431, allocations: 189.2 kB / 346.2 MB, free: 2.219 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.1432, allocations: 8 kB / 346.2 MB, free: 2.211 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.1434, allocations: 378.8 kB / 346.6 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004941/0.1439, allocations: 205 kB / 346.8 MB, free: 1.633 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007079/0.1446, allocations: 424.6 kB / 347.2 MB, free: 1.137 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005922/0.1452, allocations: 275.8 kB / 347.5 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1452, allocations: 0 / 347.5 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002118/0.1474, allocations: 0.8499 MB / 348.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/0.1474, allocations: 33.7 kB / 348.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1474, allocations: 8.016 kB / 348.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009366/0.1484, allocations: 226.4 kB / 348.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006594/0.149, allocations: 131.8 kB / 348.7 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007162/0.1562, allocations: 5.242 MB / 353.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008233/0.1571, allocations: 87.92 kB / 354 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.1571, allocations: 23.98 kB / 354.1 MB, free: 9.832 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.0003548/0.1575, allocations: 193.9 kB / 354.2 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.1576, allocations: 71.25 kB / 354.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.1598, allocations: 0.8241 MB / 355.1 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.1598, allocations: 7.953 kB / 355.1 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.1598, allocations: 0 / 355.1 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002086/0.1619, allocations: 1.082 MB / 356.2 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/0.1651, allocations: 1.545 MB / 357.8 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.1651, allocations: 0 / 357.8 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006787/0.1658, allocations: 139.6 kB / 357.9 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007385/0.1665, allocations: 181.6 kB / 358.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.1666, allocations: 11.98 kB / 358.1 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004883/0.1715, allocations: 3.545 MB / 361.6 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1715, allocations: 80 / 361.6 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002804/0.1743, allocations: 1.125 MB / 362.8 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/0.1747, allocations: 204 kB / 363 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.317e-05/0.1748, allocations: 16 kB / 363 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/0.1752, allocations: 43.97 kB / 363 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.1753, allocations: 44.5 kB / 363.1 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.1754, allocations: 15.98 kB / 363.1 MB, free: 284 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004819/0.1759, allocations: 382.8 kB / 363.5 MB, free: 15.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1759, allocations: 0 / 363.5 MB, free: 15.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008094/0.1767, allocations: 219.8 kB / 363.7 MB, free: 15.69 MB / 318.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.0002626/0.177, allocations: 115.3 kB / 363.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002246/0.1792, allocations: 1.069 MB / 364.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.1792, allocations: 3.938 kB / 364.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009873/0.1802, allocations: 0.5473 MB / 365.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008928/0.1811, allocations: 186.2 kB / 365.6 MB, free: 13.69 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.1836, allocations: 1.565 MB / 367.1 MB, free: 12.1 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/0.1842, allocations: 0.8879 MB / 368 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.1844, allocations: 55.42 kB / 368.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of SimCode: time 1.172e-06/0.1844, allocations: 4 kB / 368.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of Templates: time 0.2138/0.3982, allocations: 15.3 MB / 383.4 MB, free: 52.26 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValveCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValveCalcHelperMain.o] Error 1