Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009455/0.0009459, allocations: 93.66 kB / 16.95 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.0009552/0.0009554, allocations: 189 kB / 17.85 MB, free: 5.238 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.481/1.481, allocations: 223.2 MB / 241.8 MB, free: 332 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002836, allocations: 8 kB / 301.5 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1419, allocations: 50.41 MB / 351.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003396/0.1454, allocations: 2.426 MB / 354.3 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.1474, allocations: 1.103 MB / 355.4 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.1476, allocations: 7.938 kB / 355.4 MB, free: 480 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005309/0.1482, allocations: 167.3 kB / 355.6 MB, free: 312 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004025/0.1486, allocations: 175 kB / 355.7 MB, free: 136 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.149, allocations: 143.7 kB / 355.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004637/0.1495, allocations: 401.1 kB / 356.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.1497, allocations: 82.53 kB / 356.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.1499, allocations: 155.4 kB / 356.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.1501, allocations: 183.3 kB / 356.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.947e-05/0.1502, allocations: 16 kB / 356.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1503, allocations: 59.92 kB / 356.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1504, allocations: 75.73 kB / 356.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.844e-05/0.1505, allocations: 101.5 kB / 356.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003964/0.151, allocations: 355.3 kB / 357.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.151, allocations: 0 / 357.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.151, allocations: 0 / 357.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.151, allocations: 4 kB / 357.3 MB, free: 14.57 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0009632/0.152, allocations: 0.6229 MB / 357.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.152, allocations: 12.03 kB / 357.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.497e-05/0.1521, allocations: 47.44 kB / 358 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.1526, allocations: 321.7 kB / 358.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.1526, allocations: 16.44 kB / 358.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.1526, allocations: 20 kB / 358.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.1532, allocations: 293.4 kB / 358.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1532, allocations: 0 / 358.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.1532, allocations: 15.98 kB / 358.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1532, allocations: 7.938 kB / 358.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.1535, allocations: 145.7 kB / 358.8 MB, free: 12.96 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.001331/0.1549, allocations: 0.8169 MB / 359.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.1552, allocations: 203.8 kB / 359.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.1554, allocations: 84.2 kB / 359.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.1554, allocations: 192 / 359.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/0.1557, allocations: 134.8 kB / 360 MB, free: 11.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.282e-06/0.1558, allocations: 0 / 360 MB, free: 11.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008134/0.1566, allocations: 406.8 kB / 360.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001726/0.1568, allocations: 312.4 kB / 360.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004677/0.1572, allocations: 433.6 kB / 361.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.1573, allocations: 33.7 kB / 361.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.1574, allocations: 204.2 kB / 361.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/0.1575, allocations: 82.84 kB / 361.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/0.1575, allocations: 4 kB / 361.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1577, allocations: 350.8 kB / 361.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.1579, allocations: 59.97 kB / 361.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.1581, allocations: 179.9 kB / 362 MB, free: 9.457 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.1583, allocations: 79.92 kB / 362.1 MB, free: 9.379 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.1583, allocations: 0 / 362.1 MB, free: 9.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004698/0.1587, allocations: 277.8 kB / 362.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1588, allocations: 4 kB / 362.4 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1588, allocations: 0 / 362.4 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/0.1589, allocations: 32.84 kB / 362.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.1591, allocations: 55.91 kB / 362.4 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.1606, allocations: 1.445 MB / 363.9 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.1608, allocations: 31.81 kB / 363.9 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.1608, allocations: 8 kB / 363.9 MB, free: 7.383 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.161, allocations: 169.8 kB / 364.1 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.1611, allocations: 39.53 kB / 364.1 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.895e-05/0.1612, allocations: 39.59 kB / 364.2 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1612, allocations: 4 kB / 364.2 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1612, allocations: 0 / 364.2 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005366/0.1617, allocations: 0.5887 MB / 364.8 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009708/0.1627, allocations: 0.7122 MB / 365.5 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1627, allocations: 0 / 365.5 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.1629, allocations: 39.98 kB / 365.5 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.163, allocations: 0 / 365.5 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.163, allocations: 11.98 kB / 365.5 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.163, allocations: 0 / 365.5 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.163, allocations: 0 / 365.5 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.1636, allocations: 406.6 kB / 365.9 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.1637, allocations: 144.6 kB / 366.1 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.1638, allocations: 8.234 kB / 366.1 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.164, allocations: 15.98 kB / 366.1 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.1641, allocations: 11.98 kB / 366.1 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.1641, allocations: 7.984 kB / 366.1 MB, free: 4.988 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003577/0.1645, allocations: 315.1 kB / 366.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1645, allocations: 0 / 366.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003943/0.1649, allocations: 87.92 kB / 366.5 MB, free: 4.598 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001098/0.166, allocations: 425.3 kB / 366.9 MB, free: 4.336 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006959/0.1667, allocations: 318.2 kB / 367.2 MB, free: 4.012 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1667, allocations: 0 / 367.2 MB, free: 4.012 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.1669, allocations: 75.92 kB / 367.3 MB, free: 3.938 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.1675, allocations: 108.3 kB / 367.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.169, allocations: 0.9698 MB / 368.4 MB, free: 2.832 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.1695, allocations: 0.7924 MB / 369.2 MB, free: 2.016 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.146e-05/0.1696, allocations: 31.44 kB / 369.2 MB, free: 1.984 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1696, allocations: 0 / 369.2 MB, free: 1.984 MB / 302.1 MB Notification: Performance of Templates: time 0.2424/0.412, allocations: 5.76 MB / 375 MB, free: 23.49 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.TestOpenTankCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTankCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTankCalcHelperMain.o] Error 1