Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008291/0.0008292, allocations: 92.53 kB / 17.58 MB, free: 5.805 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.0009305/0.0009305, allocations: 180.5 kB / 18.48 MB, free: 5.254 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.657/1.657, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.0004463/0.0004464, allocations: 8 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1083, allocations: 47.58 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005288/0.1137, allocations: 4.902 MB / 333.9 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00247/0.1162, allocations: 1.341 MB / 335.2 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003191/0.1165, allocations: 11.94 kB / 335.2 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.1169, allocations: 119.1 kB / 335.4 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000639/0.1175, allocations: 345.3 kB / 335.7 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.1179, allocations: 195.7 kB / 335.9 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001138/0.1191, allocations: 1.198 MB / 337.1 MB, free: 11.94 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004888/0.1196, allocations: 339.2 kB / 337.4 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004711/0.1201, allocations: 450.4 kB / 337.8 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005799/0.1206, allocations: 0.5174 MB / 338.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.1208, allocations: 83.98 kB / 338.4 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.1209, allocations: 80 kB / 338.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.1211, allocations: 211.2 kB / 338.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.1213, allocations: 237.1 kB / 339 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009193/0.1223, allocations: 1.017 MB / 340 MB, free: 9.012 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1223, allocations: 4 kB / 340 MB, free: 9.008 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1223, allocations: 0 / 340 MB, free: 9.008 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.1223, allocations: 0 / 340 MB, free: 9.008 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002303/0.1246, allocations: 1.306 MB / 341.3 MB, free: 7.633 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.1247, allocations: 12.03 kB / 341.3 MB, free: 7.621 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.1249, allocations: 130.6 kB / 341.4 MB, free: 7.492 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009116/0.1258, allocations: 0.6063 MB / 342 MB, free: 6.844 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/0.1261, allocations: 159.1 kB / 342.2 MB, free: 6.668 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-05/0.1262, allocations: 64 kB / 342.3 MB, free: 6.605 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.1278, allocations: 0.9667 MB / 343.2 MB, free: 5.523 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.1279, allocations: 4 kB / 343.2 MB, free: 5.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.105e-05/0.1279, allocations: 32 kB / 343.3 MB, free: 5.488 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.128, allocations: 16 kB / 343.3 MB, free: 5.473 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.1292, allocations: 0.6441 MB / 343.9 MB, free: 4.828 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.004031/0.1333, allocations: 2.648 MB / 346.6 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/0.1355, allocations: 0.8806 MB / 347.4 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006342/0.1362, allocations: 362.9 kB / 347.8 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.408e-05/0.1363, allocations: 16.62 kB / 347.8 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.1363, allocations: 55.02 kB / 347.9 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.174e-06/0.1363, allocations: 0 / 347.9 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002615/0.1389, allocations: 1.444 MB / 349.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008891/0.1399, allocations: 0.945 MB / 350.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.141, allocations: 0.7825 MB / 351 MB, free: 13.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.77e-05/0.1411, allocations: 45.7 kB / 351.1 MB, free: 13.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.1415, allocations: 412.5 kB / 351.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.1417, allocations: 252.3 kB / 351.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.1418, allocations: 16 kB / 351.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1419, allocations: 337.9 kB / 352.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005864/0.1425, allocations: 265.9 kB / 352.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009141/0.1435, allocations: 0.5919 MB / 352.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007838/0.1443, allocations: 408 kB / 353.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1443, allocations: 3.938 kB / 353.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00174/0.146, allocations: 0.9703 MB / 354.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/0.1461, allocations: 91.33 kB / 354.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1461, allocations: 0 / 354.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004267/0.1466, allocations: 128.2 kB / 354.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006712/0.1472, allocations: 159.8 kB / 354.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005943/0.1532, allocations: 6.777 MB / 361.4 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009253/0.1541, allocations: 115.3 kB / 361.6 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/0.1542, allocations: 27.98 kB / 361.6 MB, free: 1.691 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004952/0.1547, allocations: 241.6 kB / 361.8 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.1549, allocations: 102.9 kB / 361.9 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.1551, allocations: 96.91 kB / 362 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.1551, allocations: 15.89 kB / 362 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.1551, allocations: 0 / 362 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001414/0.1565, allocations: 0.9896 MB / 363 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.1594, allocations: 1.762 MB / 364.8 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.1595, allocations: 3.984 kB / 364.8 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007163/0.1602, allocations: 163.8 kB / 365 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.1603, allocations: 28.72 kB / 365 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/0.1604, allocations: 19.98 kB / 365 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.1614, allocations: 1.3 MB / 366.3 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.1614, allocations: 7.891 kB / 366.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.1634, allocations: 1.103 MB / 367.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/0.1638, allocations: 255.8 kB / 367.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.1639, allocations: 23.95 kB / 367.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/0.1645, allocations: 51.91 kB / 367.7 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.1646, allocations: 48.53 kB / 367.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.1646, allocations: 19.98 kB / 367.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007625/0.1654, allocations: 0.5381 MB / 368.3 MB, free: 10.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1654, allocations: 0 / 368.3 MB, free: 10.58 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000855/0.1663, allocations: 291.7 kB / 368.6 MB, free: 10.3 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001981/0.1665, allocations: 127.2 kB / 368.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00226/0.1688, allocations: 1.405 MB / 370.2 MB, free: 8.656 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.1688, allocations: 4.062 kB / 370.2 MB, free: 8.652 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006876/0.1695, allocations: 426.3 kB / 370.6 MB, free: 8.223 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.1706, allocations: 275.1 kB / 370.8 MB, free: 7.953 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.1739, allocations: 2.048 MB / 372.9 MB, free: 5.871 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/0.1744, allocations: 0.9797 MB / 373.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.1747, allocations: 79.42 kB / 373.9 MB, free: 4.781 MB / 318.1 MB Notification: Performance of SimCode: time 1.172e-06/0.1747, allocations: 0 / 373.9 MB, free: 4.781 MB / 318.1 MB Notification: Performance of Templates: time 0.221/0.3957, allocations: 24.14 MB / 398.1 MB, free: 43.63 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCoolingCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCoolingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCoolingCalcHelperMain.o] Error 1