Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 89.39 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 201 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.654/1.654, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003128, allocations: 4 kB / 307.3 MB, free: 1.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1414, allocations: 51.49 MB / 358.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005525/0.147, allocations: 4.417 MB / 363.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.15, allocations: 1.216 MB / 364.4 MB, free: 8.262 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.1504, allocations: 8 kB / 364.4 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.1507, allocations: 111.1 kB / 364.5 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006147/0.1513, allocations: 281.8 kB / 364.8 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.1518, allocations: 167.7 kB / 365 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.153, allocations: 1.042 MB / 366 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004299/0.1534, allocations: 271 kB / 366.3 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004651/0.1539, allocations: 390.6 kB / 366.7 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005149/0.1544, allocations: 458.1 kB / 367.1 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.1545, allocations: 68 kB / 367.2 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.1547, allocations: 71.94 kB / 367.2 MB, free: 5.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.1549, allocations: 179.3 kB / 367.4 MB, free: 5.234 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.1551, allocations: 201.3 kB / 367.6 MB, free: 5.031 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008425/0.1559, allocations: 0.8803 MB / 368.5 MB, free: 4.148 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1559, allocations: 0 / 368.5 MB, free: 4.148 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1559, allocations: 0 / 368.5 MB, free: 4.148 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.156, allocations: 0 / 368.5 MB, free: 4.148 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002201/0.1582, allocations: 1.204 MB / 369.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.1582, allocations: 16.02 kB / 369.7 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.1584, allocations: 102.9 kB / 369.8 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009185/0.1594, allocations: 0.5552 MB / 370.4 MB, free: 2.164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003243/0.1597, allocations: 186.2 kB / 370.6 MB, free: 1.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.74e-05/0.1598, allocations: 55.91 kB / 370.6 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.1613, allocations: 0.8783 MB / 371.5 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.1614, allocations: 8 kB / 371.5 MB, free: 0.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.1614, allocations: 28 kB / 371.5 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.1615, allocations: 12 kB / 371.5 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.1629, allocations: 0.6609 MB / 372.2 MB, free: 224 kB / 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.2883/0.4512, allocations: 2.061 MB / 374.3 MB, free: 18.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.4528, allocations: 0.8948 MB / 375.1 MB, free: 18.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009196/0.4538, allocations: 428.3 kB / 375.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.91e-05/0.4539, allocations: 17.36 kB / 375.6 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.4539, allocations: 50.42 kB / 375.6 MB, free: 18.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.865e-06/0.4539, allocations: 0 / 375.6 MB, free: 18.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005446/0.4594, allocations: 1.988 MB / 377.6 MB, free: 17.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002485/0.4596, allocations: 0.8224 MB / 378.4 MB, free: 16.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009233/0.4606, allocations: 0.6288 MB / 379.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.713e-05/0.4607, allocations: 44.73 kB / 379.1 MB, free: 16.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003072/0.461, allocations: 334.8 kB / 379.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.4612, allocations: 253.5 kB / 379.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.4613, allocations: 15.09 kB / 379.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.4615, allocations: 384.2 kB / 380.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007898/0.4623, allocations: 306.1 kB / 380.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.4633, allocations: 0.5765 MB / 381 MB, free: 14.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008375/0.4642, allocations: 431.4 kB / 381.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4642, allocations: 1.031 kB / 381.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002836/0.467, allocations: 1.197 MB / 382.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.65e-05/0.4671, allocations: 85.67 kB / 382.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.4671, allocations: 4.406 kB / 382.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007679/0.4679, allocations: 249.7 kB / 382.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006639/0.4686, allocations: 155 kB / 383.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007119/0.4757, allocations: 6.494 MB / 389.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.4769, allocations: 119.6 kB / 389.7 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-05/0.4769, allocations: 22.11 kB / 389.7 MB, free: 8.039 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.0004416/0.4774, allocations: 225.8 kB / 389.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.4776, allocations: 88.88 kB / 390 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.4778, allocations: 91.56 kB / 390.1 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.4778, allocations: 6.562 kB / 390.1 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.4778, allocations: 1.578 kB / 390.1 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002659/0.4805, allocations: 1.339 MB / 391.4 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004146/0.4846, allocations: 2.021 MB / 393.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.4846, allocations: 0 / 393.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007172/0.4854, allocations: 149.7 kB / 393.6 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005779/0.486, allocations: 222 kB / 393.8 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/0.486, allocations: 19.52 kB / 393.8 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005378/0.4914, allocations: 5.051 MB / 398.9 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4914, allocations: 3.828 kB / 398.9 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003439/0.4949, allocations: 1.527 MB / 400.4 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004767/0.4954, allocations: 240.6 kB / 400.7 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.4955, allocations: 14.94 kB / 400.7 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/0.4961, allocations: 71.28 kB / 400.7 MB, free: 352 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.4963, allocations: 62.25 kB / 400.8 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/0.4964, allocations: 20.89 kB / 400.8 MB, free: 308 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005952/0.497, allocations: 451.6 kB / 401.3 MB, free: 40 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.497, allocations: 0 / 401.3 MB, free: 40 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.001063/0.498, allocations: 279.5 kB / 401.5 MB, free: 0 / 302.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.0002357/0.4983, allocations: 117.5 kB / 401.6 MB, free: 15.9 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002576/0.5009, allocations: 1.411 MB / 403.1 MB, free: 14.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.5009, allocations: 2.844 kB / 403.1 MB, free: 14.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.5023, allocations: 0.8106 MB / 403.9 MB, free: 14.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.5034, allocations: 236.4 kB / 404.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.5064, allocations: 1.961 MB / 406.1 MB, free: 12.81 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.507, allocations: 0.9329 MB / 407 MB, free: 12.01 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.5073, allocations: 70.7 kB / 407.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of SimCode: time 1.973e-06/0.5073, allocations: 0 / 407.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of Templates: time 0.03048/0.5378, allocations: 22.46 MB / 429.5 MB, free: 5.75 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMassCalcHelperMain.o OMCppModelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMassCalcHelperMain.o] Error 1