Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.0009696/0.0009696, allocations: 96.02 kB / 16.95 MB, free: 5.953 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.001249/0.001249, allocations: 175.8 kB / 17.84 MB, free: 5.621 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.536/1.536, allocations: 223.2 MB / 241.9 MB, free: 212 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004215, allocations: 4 kB / 301.4 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1367, allocations: 50.43 MB / 351.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004746/0.1415, allocations: 3.786 MB / 355.7 MB, free: 204 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.1442, allocations: 1.099 MB / 356.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003409/0.1445, allocations: 11.94 kB / 356.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.1449, allocations: 91.3 kB / 356.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006447/0.1455, allocations: 226.2 kB / 357.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.146, allocations: 139.8 kB / 357.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009254/0.1469, allocations: 0.8274 MB / 358 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003334/0.1473, allocations: 196.7 kB / 358.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/0.1477, allocations: 330.8 kB / 358.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004362/0.1482, allocations: 358.5 kB / 358.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.111e-05/0.1483, allocations: 48 kB / 359 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1484, allocations: 48 kB / 359 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.1486, allocations: 135.5 kB / 359.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.1487, allocations: 169.3 kB / 359.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006381/0.1494, allocations: 0.6663 MB / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1494, allocations: 0 / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1494, allocations: 0 / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1494, allocations: 0 / 360 MB, free: 11.86 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.001825/0.1512, allocations: 1.004 MB / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.1513, allocations: 12.03 kB / 361 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.1515, allocations: 87 kB / 361.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/0.1522, allocations: 463.8 kB / 361.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.1523, allocations: 100.4 kB / 361.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.189e-05/0.1524, allocations: 44 kB / 361.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.1536, allocations: 0.66 MB / 362.3 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1536, allocations: 0 / 362.3 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-05/0.1537, allocations: 24 kB / 362.3 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.1537, allocations: 19.94 kB / 362.4 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.1547, allocations: 471.7 kB / 362.8 MB, free: 8.805 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.003165/0.1579, allocations: 1.979 MB / 364.8 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.1597, allocations: 0.7111 MB / 365.5 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005551/0.1603, allocations: 274.1 kB / 365.8 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-05/0.1603, allocations: 16.41 kB / 365.8 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.1604, allocations: 47 kB / 365.8 MB, free: 5.617 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.575e-06/0.1604, allocations: 0 / 365.8 MB, free: 5.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.00474/0.1652, allocations: 1.593 MB / 367.4 MB, free: 3.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003128/0.1655, allocations: 0.5682 MB / 368 MB, free: 3.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007203/0.1662, allocations: 0.5343 MB / 368.5 MB, free: 2.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.461e-05/0.1663, allocations: 37.7 kB / 368.6 MB, free: 2.664 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.1666, allocations: 292.6 kB / 368.9 MB, free: 2.371 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.1668, allocations: 181.3 kB / 369 MB, free: 2.191 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.1668, allocations: 12 kB / 369 MB, free: 2.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.167, allocations: 366.8 kB / 369.4 MB, free: 1.812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/0.1675, allocations: 209 kB / 369.6 MB, free: 1.609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006911/0.1682, allocations: 428.5 kB / 370 MB, free: 1.113 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005849/0.1688, allocations: 276 kB / 370.3 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1688, allocations: 0 / 370.3 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.2399/0.4087, allocations: 0.8472 MB / 371.1 MB, free: 24.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.094e-05/0.4088, allocations: 33.53 kB / 371.2 MB, free: 24.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.4088, allocations: 5.016 kB / 371.2 MB, free: 24.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.41, allocations: 226.7 kB / 371.4 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008078/0.4108, allocations: 136.5 kB / 371.5 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006926/0.4177, allocations: 5.233 MB / 376.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008448/0.4186, allocations: 90.25 kB / 376.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/0.4187, allocations: 18.8 kB / 376.9 MB, free: 20.18 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.0003492/0.419, allocations: 194.2 kB / 377.1 MB, free: 20.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.4192, allocations: 75.52 kB / 377.1 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.4215, allocations: 0.8228 MB / 378 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.4215, allocations: 10.62 kB / 378 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.4215, allocations: 0 / 378 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002043/0.4236, allocations: 1.082 MB / 379.1 MB, free: 19.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/0.4268, allocations: 1.546 MB / 380.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4268, allocations: 0 / 380.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007109/0.4275, allocations: 139.9 kB / 380.7 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007696/0.4283, allocations: 182.5 kB / 380.9 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-05/0.4283, allocations: 11.84 kB / 380.9 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004404/0.4328, allocations: 3.536 MB / 384.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4328, allocations: 1.109 kB / 384.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/0.4356, allocations: 1.126 MB / 385.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.4359, allocations: 206.4 kB / 385.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-05/0.436, allocations: 15.75 kB / 385.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004662/0.4365, allocations: 46.45 kB / 385.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.4366, allocations: 46 kB / 385.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.4367, allocations: 16.97 kB / 385.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000516/0.4372, allocations: 381.2 kB / 386.3 MB, free: 14.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4372, allocations: 0 / 386.3 MB, free: 14.6 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001033/0.4383, allocations: 220.5 kB / 386.5 MB, free: 14.57 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.0001561/0.4384, allocations: 117.7 kB / 386.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002331/0.4408, allocations: 1.063 MB / 387.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.4408, allocations: 5.531 kB / 387.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009965/0.4418, allocations: 0.552 MB / 388.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008979/0.4427, allocations: 183.2 kB / 388.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.445, allocations: 1.57 MB / 390 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.4455, allocations: 0.8873 MB / 390.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.4456, allocations: 54.91 kB / 390.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4456, allocations: 0 / 390.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of Templates: time 0.02051/0.4662, allocations: 15.32 MB / 406.2 MB, free: 1.09 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValveCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValveCalcHelperMain.o] Error 1