Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.0007664/0.0007666, allocations: 98.62 kB / 17.96 MB, free: 5.766 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.001044/0.001044, allocations: 178.2 kB / 18.86 MB, free: 4.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005492/0.0005493, allocations: 19.94 kB / 282 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1471, allocations: 47.58 MB / 329.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004521/0.1517, allocations: 2.531 MB / 332.1 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003167/0.1549, allocations: 1.08 MB / 333.2 MB, free: 132 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.1551, allocations: 11.94 kB / 333.2 MB, free: 120 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007129/0.1559, allocations: 171.4 kB / 333.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005302/0.1564, allocations: 179 kB / 333.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.1569, allocations: 131.8 kB / 333.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009401/0.1578, allocations: 438 kB / 334.1 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.1581, allocations: 91.66 kB / 334.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.1584, allocations: 155.4 kB / 334.4 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003285/0.1587, allocations: 211.1 kB / 334.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.907e-05/0.1588, allocations: 20 kB / 334.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.159, allocations: 59.98 kB / 334.7 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.1591, allocations: 67.69 kB / 334.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.1593, allocations: 216.6 kB / 334.9 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004363/0.1598, allocations: 347.4 kB / 335.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1598, allocations: 0 / 335.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.879e-06/0.1598, allocations: 0 / 335.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1598, allocations: 3.938 kB / 335.3 MB, free: 14.06 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.00124/0.161, allocations: 0.6308 MB / 335.9 MB, free: 13.38 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.1611, allocations: 8.031 kB / 335.9 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.403e-05/0.1612, allocations: 44.47 kB / 336 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006587/0.1619, allocations: 342.6 kB / 336.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.1619, allocations: 12.81 kB / 336.3 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.107e-05/0.162, allocations: 24.12 kB / 336.3 MB, free: 12.92 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006544/0.1626, allocations: 293.5 kB / 336.6 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1627, allocations: 4 kB / 336.6 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.1627, allocations: 8 kB / 336.6 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.1627, allocations: 8 kB / 336.6 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.163, allocations: 141.7 kB / 336.8 MB, free: 12.43 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.001616/0.1647, allocations: 0.8399 MB / 337.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.1651, allocations: 187.1 kB / 337.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.1653, allocations: 80.83 kB / 337.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.1654, allocations: 4 kB / 337.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003955/0.1658, allocations: 143.3 kB / 338 MB, free: 11.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.1658, allocations: 0 / 338 MB, free: 11.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.001048/0.1668, allocations: 407.5 kB / 338.4 MB, free: 10.67 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002444/0.1671, allocations: 316.3 kB / 338.7 MB, free: 10.29 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.1676, allocations: 437.6 kB / 339.2 MB, free: 9.852 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.1676, allocations: 33.7 kB / 339.2 MB, free: 9.812 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.1678, allocations: 200.3 kB / 339.4 MB, free: 9.613 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.654e-05/0.1679, allocations: 82.84 kB / 339.5 MB, free: 9.531 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.168, allocations: 25.7 kB / 339.5 MB, free: 9.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003548/0.1683, allocations: 350.8 kB / 339.8 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.1685, allocations: 63.97 kB / 339.9 MB, free: 9.086 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.1689, allocations: 175.9 kB / 340.1 MB, free: 8.871 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005565/0.1695, allocations: 175.3 kB / 340.2 MB, free: 8.688 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.1695, allocations: 3.938 kB / 340.2 MB, free: 8.684 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006112/0.1701, allocations: 269.8 kB / 340.5 MB, free: 8.41 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.1701, allocations: 8 kB / 340.5 MB, free: 8.402 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1702, allocations: 0 / 340.5 MB, free: 8.402 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003633/0.1705, allocations: 32.84 kB / 340.5 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.1707, allocations: 55.91 kB / 340.6 MB, free: 8.312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.1727, allocations: 1.452 MB / 342 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.173, allocations: 35.67 kB / 342.1 MB, free: 6.684 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.173, allocations: 8 kB / 342.1 MB, free: 6.676 MB / 286.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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002099/0.1732, allocations: 165.8 kB / 342.3 MB, free: 6.504 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.1733, allocations: 39.53 kB / 342.3 MB, free: 6.465 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.437e-05/0.1734, allocations: 39.59 kB / 342.3 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1734, allocations: 7.984 kB / 342.3 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1734, allocations: 0 / 342.3 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001015/0.1744, allocations: 0.579 MB / 342.9 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.1756, allocations: 0.7078 MB / 343.6 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1756, allocations: 0 / 343.6 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.1759, allocations: 51.84 kB / 343.7 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1759, allocations: 3.938 kB / 343.7 MB, free: 4.906 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.1759, allocations: 4 kB / 343.7 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.1759, allocations: 4 kB / 343.7 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1759, allocations: 0 / 343.7 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008715/0.1768, allocations: 394.9 kB / 344.1 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.177, allocations: 144.5 kB / 344.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.1771, allocations: 8 kB / 344.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.1774, allocations: 20.08 kB / 344.2 MB, free: 4.309 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/0.1775, allocations: 15.92 kB / 344.3 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.1775, allocations: 8 kB / 344.3 MB, free: 4.285 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004095/0.178, allocations: 311.1 kB / 344.6 MB, free: 3.988 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.178, allocations: 4.062 kB / 344.6 MB, free: 3.984 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000462/0.1784, allocations: 95.83 kB / 344.7 MB, free: 3.891 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001531/0.18, allocations: 400.4 kB / 345.1 MB, free: 3.508 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009818/0.181, allocations: 307.2 kB / 345.4 MB, free: 3.195 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.181, allocations: 4.125 kB / 345.4 MB, free: 3.191 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.1812, allocations: 103.5 kB / 345.5 MB, free: 3.09 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008244/0.1821, allocations: 85.45 kB / 345.5 MB, free: 3.004 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.1844, allocations: 1.009 MB / 346.6 MB, free: 1.965 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/0.1851, allocations: 0.8001 MB / 347.4 MB, free: 1.141 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.1852, allocations: 31.44 kB / 347.4 MB, free: 1.109 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1852, allocations: 0 / 347.4 MB, free: 1.109 MB / 286.1 MB Notification: Performance of Templates: time 0.01333/0.1986, allocations: 5.774 MB / 353.2 MB, free: 11.32 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.TestOpenTankCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTankCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTankCalcHelperMain.o] Error 1