Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000732/0.000732, allocations: 92.78 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009578/0.0009578, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.3 MB / 246.6 MB, free: 10.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.000302, allocations: 8 kB / 307.3 MB, free: 1.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 51.49 MB / 358.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003534/0.1397, allocations: 2.443 MB / 361.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.1421, allocations: 1.259 MB / 362.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.1423, allocations: 4 kB / 362.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005208/0.1428, allocations: 155.4 kB / 362.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005539/0.1434, allocations: 211 kB / 362.9 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.1438, allocations: 135.7 kB / 363 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004726/0.1443, allocations: 413.1 kB / 363.4 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.1445, allocations: 90.78 kB / 363.5 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.1447, allocations: 167.3 kB / 363.6 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.145, allocations: 187.2 kB / 363.8 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.145, allocations: 20 kB / 363.8 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.1452, allocations: 59.98 kB / 363.9 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.957e-05/0.1453, allocations: 71.73 kB / 364 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.379e-05/0.1454, allocations: 97.45 kB / 364.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.1457, allocations: 359.3 kB / 364.4 MB, free: 8.262 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.1458, allocations: 4 kB / 364.4 MB, free: 8.258 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1458, allocations: 0 / 364.4 MB, free: 8.258 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1458, allocations: 0 / 364.4 MB, free: 8.258 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.0009983/0.1468, allocations: 0.6333 MB / 365.1 MB, free: 7.578 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.1468, allocations: 12.03 kB / 365.1 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.752e-05/0.1469, allocations: 47.44 kB / 365.1 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.1474, allocations: 337.6 kB / 365.4 MB, free: 7.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.1474, allocations: 12.44 kB / 365.5 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.1475, allocations: 20 kB / 365.5 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.148, allocations: 293.5 kB / 365.8 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.148, allocations: 0 / 365.8 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.148, allocations: 8 kB / 365.8 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.148, allocations: 4 kB / 365.8 MB, free: 6.777 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.1483, allocations: 145.7 kB / 365.9 MB, free: 6.633 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.001343/0.1497, allocations: 0.8362 MB / 366.7 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/0.1501, allocations: 190.9 kB / 366.9 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.1503, allocations: 77.2 kB / 367 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/0.1503, allocations: 4.188 kB / 367 MB, free: 5.453 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003472/0.1507, allocations: 130.8 kB / 367.1 MB, free: 5.316 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.1507, allocations: 0 / 367.1 MB, free: 5.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009805/0.1517, allocations: 410.8 kB / 367.5 MB, free: 4.887 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002018/0.1519, allocations: 312.4 kB / 367.8 MB, free: 4.508 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004894/0.1524, allocations: 445.6 kB / 368.3 MB, free: 4.066 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.1524, allocations: 29.7 kB / 368.3 MB, free: 4.031 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.1526, allocations: 208.2 kB / 368.5 MB, free: 3.824 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.1527, allocations: 78.83 kB / 368.6 MB, free: 3.746 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-05/0.1527, allocations: 12 kB / 368.6 MB, free: 3.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1529, allocations: 350.8 kB / 368.9 MB, free: 3.383 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.153, allocations: 63.97 kB / 369 MB, free: 3.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.1532, allocations: 175.9 kB / 369.2 MB, free: 3.105 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.1534, allocations: 77.03 kB / 369.3 MB, free: 3.031 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1534, allocations: 0 / 369.3 MB, free: 3.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004332/0.1539, allocations: 274.5 kB / 369.5 MB, free: 2.754 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.1539, allocations: 8 kB / 369.5 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1539, allocations: 0 / 369.5 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001337/0.154, allocations: 32.84 kB / 369.6 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.1543, allocations: 59.91 kB / 369.6 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.1557, allocations: 1.456 MB / 371.1 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.1559, allocations: 23.8 kB / 371.1 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.1559, allocations: 11.94 kB / 371.1 MB, free: 1.023 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.0002044/0.1561, allocations: 169.8 kB / 371.3 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.1562, allocations: 43.53 kB / 371.3 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.48e-05/0.1563, allocations: 43.59 kB / 371.4 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1563, allocations: 0 / 371.4 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1563, allocations: 4 kB / 371.4 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005123/0.1568, allocations: 0.5761 MB / 371.9 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2754/0.4322, allocations: 0.6942 MB / 372.6 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.4323, allocations: 3.25 kB / 372.6 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.4326, allocations: 45.38 kB / 372.7 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/0.4326, allocations: 1.312 kB / 372.7 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.4326, allocations: 6.312 kB / 372.7 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.4326, allocations: 4.766 kB / 372.7 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4327, allocations: 1.094 kB / 372.7 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007024/0.4334, allocations: 398.2 kB / 373.1 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.4335, allocations: 143.5 kB / 373.2 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.325e-05/0.4336, allocations: 16.91 kB / 373.2 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.4338, allocations: 16.34 kB / 373.3 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.4339, allocations: 14.84 kB / 373.3 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.4339, allocations: 10.02 kB / 373.3 MB, free: 19.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004007/0.4343, allocations: 313.9 kB / 373.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4343, allocations: 0 / 373.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004608/0.4348, allocations: 97.84 kB / 373.7 MB, free: 19.16 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.001003/0.4358, allocations: 412.7 kB / 374.1 MB, free: 19.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006325/0.4365, allocations: 310.5 kB / 374.4 MB, free: 18.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4365, allocations: 0 / 374.4 MB, free: 18.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.4367, allocations: 80.44 kB / 374.5 MB, free: 18.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006103/0.4373, allocations: 105.1 kB / 374.6 MB, free: 18.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.439, allocations: 0.9679 MB / 375.5 MB, free: 18.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.4394, allocations: 0.7961 MB / 376.3 MB, free: 17.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.96e-05/0.4395, allocations: 34.84 kB / 376.4 MB, free: 17.65 MB / 302.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4395, allocations: 0 / 376.4 MB, free: 17.65 MB / 302.1 MB Notification: Performance of Templates: time 0.01201/0.4515, allocations: 5.839 MB / 382.2 MB, free: 16.78 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTankCalcHelperMain.o OMCppModelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTankCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTankCalcHelperMain.o] Error 1