Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007743/0.0007744, allocations: 88.67 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.0008577/0.0008577, allocations: 183.1 kB / 18.48 MB, free: 5.207 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.661/1.661, allocations: 205.4 MB / 224.6 MB, free: 13.08 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.0004653/0.0004654, allocations: 12 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1091, allocations: 47.58 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004859/0.1141, allocations: 4.393 MB / 333.4 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.116, allocations: 1.221 MB / 334.6 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002466/0.1162, allocations: 11.94 kB / 334.6 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.1166, allocations: 115.1 kB / 334.7 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005243/0.1171, allocations: 277.7 kB / 335 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.1175, allocations: 167.8 kB / 335.1 MB, free: 13.87 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.1185, allocations: 1.035 MB / 336.2 MB, free: 12.83 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004196/0.1189, allocations: 278.6 kB / 336.5 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004171/0.1194, allocations: 394.5 kB / 336.8 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005261/0.1199, allocations: 462.1 kB / 337.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.12, allocations: 64 kB / 337.4 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.1202, allocations: 68 kB / 337.4 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.1203, allocations: 191.2 kB / 337.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.1205, allocations: 197.3 kB / 337.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007673/0.1213, allocations: 0.8764 MB / 338.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1213, allocations: 0 / 338.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1213, allocations: 0 / 338.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1213, allocations: 0 / 338.7 MB, free: 10.3 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002078/0.1234, allocations: 1.216 MB / 339.9 MB, free: 9.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1235, allocations: 8.031 kB / 339.9 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.1237, allocations: 102.9 kB / 340 MB, free: 8.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008724/0.1245, allocations: 0.5708 MB / 340.6 MB, free: 8.301 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/0.1248, allocations: 174.4 kB / 340.7 MB, free: 8.109 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.6e-05/0.1249, allocations: 59.91 kB / 340.8 MB, free: 8.051 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.1264, allocations: 0.8705 MB / 341.7 MB, free: 7.078 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.1264, allocations: 0 / 341.7 MB, free: 7.078 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.48e-05/0.1265, allocations: 31.98 kB / 341.7 MB, free: 7.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.1265, allocations: 12 kB / 341.7 MB, free: 7.035 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.1279, allocations: 0.6571 MB / 342.4 MB, free: 6.375 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.003185/0.1311, allocations: 2.077 MB / 344.4 MB, free: 4.195 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.1325, allocations: 0.8858 MB / 345.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007662/0.1333, allocations: 421.3 kB / 345.7 MB, free: 2.84 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.189e-05/0.1334, allocations: 16.64 kB / 345.8 MB, free: 2.824 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.1334, allocations: 55.14 kB / 345.8 MB, free: 2.762 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 1.793e-06/0.1334, allocations: 4 kB / 345.8 MB, free: 2.758 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.00481/0.1382, allocations: 1.98 MB / 347.8 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004979/0.1387, allocations: 0.8234 MB / 348.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007432/0.1395, allocations: 0.6293 MB / 349.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.354e-05/0.1396, allocations: 45.7 kB / 349.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.1399, allocations: 333.1 kB / 349.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.1402, allocations: 256.2 kB / 349.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.1402, allocations: 16 kB / 349.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.1404, allocations: 382.8 kB / 350.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006472/0.1411, allocations: 301.8 kB / 350.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008871/0.142, allocations: 0.578 MB / 351.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007477/0.1427, allocations: 439.8 kB / 351.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.1427, allocations: 3.953 kB / 351.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002456/0.1452, allocations: 1.192 MB / 352.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.395e-05/0.1453, allocations: 89.06 kB / 352.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1453, allocations: 0 / 352.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006815/0.146, allocations: 247.3 kB / 353.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006082/0.1466, allocations: 159.8 kB / 353.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007406/0.154, allocations: 6.488 MB / 359.7 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000807/0.1548, allocations: 123.4 kB / 359.9 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-05/0.1549, allocations: 31.98 kB / 359.9 MB, free: 3.645 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003827/0.1553, allocations: 213.8 kB / 360.1 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.1554, allocations: 87.06 kB / 360.2 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.1556, allocations: 87.34 kB / 360.3 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.1556, allocations: 11.94 kB / 360.3 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.1557, allocations: 3.984 kB / 360.3 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00246/0.1581, allocations: 1.335 MB / 361.6 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003765/0.1619, allocations: 2.027 MB / 363.6 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/0.1619, allocations: 0 / 363.6 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007098/0.1626, allocations: 159.8 kB / 363.8 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005345/0.1632, allocations: 218.4 kB / 364 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/0.1632, allocations: 19.98 kB / 364 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0059/0.1691, allocations: 5.035 MB / 369.1 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1692, allocations: 4.062 kB / 369.1 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003247/0.1724, allocations: 1.523 MB / 370.6 MB, free: 8.301 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/0.1728, allocations: 243.9 kB / 370.8 MB, free: 8.043 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.912e-05/0.1729, allocations: 16 kB / 370.8 MB, free: 8.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005871/0.1735, allocations: 71.94 kB / 370.9 MB, free: 7.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.1736, allocations: 60.56 kB / 371 MB, free: 7.898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.1737, allocations: 27.92 kB / 371 MB, free: 7.871 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006452/0.1743, allocations: 447.1 kB / 371.4 MB, free: 7.441 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1744, allocations: 0 / 371.4 MB, free: 7.441 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008736/0.1752, allocations: 279.7 kB / 371.7 MB, free: 7.168 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001719/0.1754, allocations: 135.3 kB / 371.8 MB, free: 7.027 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002221/0.1776, allocations: 1.399 MB / 373.2 MB, free: 5.539 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.1777, allocations: 8.125 kB / 373.3 MB, free: 5.531 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.179, allocations: 0.8042 MB / 374.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009585/0.18, allocations: 230.9 kB / 374.3 MB, free: 4.465 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.1828, allocations: 1.955 MB / 376.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.1833, allocations: 0.9401 MB / 377.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.1836, allocations: 67.42 kB / 377.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1836, allocations: 0 / 377.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of Templates: time 0.2283/0.4118, allocations: 22.45 MB / 399.7 MB, free: 41.09 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMassCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMassCalcHelperMain.o] Error 1