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.001348/0.001348, allocations: 109.1 kB / 17.81 MB, free: 5.559 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.001459/0.001459, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.782/1.782, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.002324/0.002324, allocations: 55.92 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1482, allocations: 46.61 MB / 327.2 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.008719/0.157, allocations: 5.043 MB / 332.3 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004259/0.1613, allocations: 1.349 MB / 333.6 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.1628, allocations: 11.94 kB / 333.6 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008366/0.1638, allocations: 123.1 kB / 333.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.1651, allocations: 285.7 kB / 334 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006807/0.1658, allocations: 195.8 kB / 334.2 MB, free: 13.87 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.1673, allocations: 1.121 MB / 335.3 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005236/0.1678, allocations: 286 kB / 335.6 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006309/0.1684, allocations: 418.4 kB / 336 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005842/0.169, allocations: 497.9 kB / 336.5 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.1692, allocations: 72 kB / 336.6 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.1693, allocations: 72 kB / 336.7 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.1695, allocations: 199.2 kB / 336.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005152/0.1701, allocations: 497.6 kB / 337.3 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008935/0.171, allocations: 0.8923 MB / 338.2 MB, free: 9.828 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.171, allocations: 4 kB / 338.2 MB, free: 9.824 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.171, allocations: 4 kB / 338.2 MB, free: 9.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.171, allocations: 0 / 338.2 MB, free: 9.82 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.002754/0.1738, allocations: 1.341 MB / 339.6 MB, free: 8.406 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.1738, allocations: 12.03 kB / 339.6 MB, free: 8.395 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002275/0.1741, allocations: 107.8 kB / 339.7 MB, free: 8.289 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.1752, allocations: 0.5832 MB / 340.3 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003487/0.1756, allocations: 166.9 kB / 340.4 MB, free: 7.488 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.1757, allocations: 68.11 kB / 340.5 MB, free: 7.422 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.1775, allocations: 0.8587 MB / 341.4 MB, free: 6.461 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.1775, allocations: 4 kB / 341.4 MB, free: 6.457 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.251e-05/0.1776, allocations: 24 kB / 341.4 MB, free: 6.434 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.1776, allocations: 12 kB / 341.4 MB, free: 6.422 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.1792, allocations: 0.6258 MB / 342 MB, free: 5.793 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.003842/0.1831, allocations: 2.069 MB / 344.1 MB, free: 3.617 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.1846, allocations: 0.8702 MB / 345 MB, free: 2.688 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008709/0.1855, allocations: 398.6 kB / 345.4 MB, free: 2.297 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.355e-05/0.1856, allocations: 16.64 kB / 345.4 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.1856, allocations: 55.16 kB / 345.4 MB, free: 2.219 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 3.507e-06/0.1856, allocations: 0 / 345.4 MB, free: 2.219 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.005773/0.1914, allocations: 1.835 MB / 347.3 MB, free: 296 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006155/0.1921, allocations: 0.8234 MB / 348.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009403/0.193, allocations: 0.6293 MB / 348.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.902e-05/0.1931, allocations: 45.7 kB / 348.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.1935, allocations: 345 kB / 349.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.1937, allocations: 248.2 kB / 349.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/0.194, allocations: 146.7 kB / 349.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002577/0.1943, allocations: 382.8 kB / 349.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006988/0.195, allocations: 289.8 kB / 350.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000982/0.196, allocations: 0.5585 MB / 350.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.1974, allocations: 0.7207 MB / 351.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1974, allocations: 0 / 351.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002783/0.2002, allocations: 1.118 MB / 352.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.2003, allocations: 85.11 kB / 352.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.2004, allocations: 4 kB / 352.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007919/0.2012, allocations: 235.2 kB / 352.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006652/0.2018, allocations: 147.8 kB / 353 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009046/0.2109, allocations: 6.367 MB / 359.4 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.2123, allocations: 115.3 kB / 359.5 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/0.2124, allocations: 24 kB / 359.5 MB, free: 3.082 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005749/0.213, allocations: 213.7 kB / 359.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.2132, allocations: 90.97 kB / 359.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.2134, allocations: 95.33 kB / 359.9 MB, free: 2.676 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.2134, allocations: 4 kB / 359.9 MB, free: 2.672 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/0.2134, allocations: 4 kB / 359.9 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002667/0.2161, allocations: 1.264 MB / 361.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004017/0.2201, allocations: 1.941 MB / 363.1 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.2201, allocations: 4 kB / 363.1 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007278/0.2209, allocations: 155.8 kB / 363.3 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005721/0.2215, allocations: 198.5 kB / 363.5 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/0.2215, allocations: 12 kB / 363.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007353/0.2289, allocations: 4.914 MB / 368.4 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2289, allocations: 8.062 kB / 368.4 MB, free: 9.582 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003784/0.2327, allocations: 1.425 MB / 369.8 MB, free: 8.133 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004925/0.2332, allocations: 243.8 kB / 370.1 MB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.2333, allocations: 20 kB / 370.1 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006686/0.234, allocations: 63.94 kB / 370.1 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/0.2342, allocations: 60.56 kB / 370.2 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/0.2343, allocations: 20 kB / 370.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006292/0.2349, allocations: 455 kB / 370.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2349, allocations: 0 / 370.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001024/0.236, allocations: 283.6 kB / 370.9 MB, free: 7 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002004/0.2362, allocations: 119.2 kB / 371.1 MB, free: 6.875 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002614/0.2388, allocations: 1.363 MB / 372.4 MB, free: 5.426 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.2388, allocations: 7.938 kB / 372.4 MB, free: 5.418 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.2404, allocations: 0.7848 MB / 373.2 MB, free: 4.594 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.2415, allocations: 222.9 kB / 373.4 MB, free: 4.371 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.2449, allocations: 1.917 MB / 375.3 MB, free: 2.418 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006317/0.2455, allocations: 0.9362 MB / 376.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.2457, allocations: 71.42 kB / 376.4 MB, free: 1.387 MB / 318.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2458, allocations: 0 / 376.4 MB, free: 1.387 MB / 318.1 MB Notification: Performance of Templates: time 0.2895/0.5352, allocations: 22.53 MB / 398.9 MB, free: 41.97 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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