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.001047/0.001047, allocations: 89.62 kB / 17.58 MB, free: 6.168 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.001108/0.001108, allocations: 184.1 kB / 18.47 MB, free: 5.336 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.64/1.64, allocations: 205.4 MB / 224.6 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.0004759/0.000476, allocations: 12 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1218, allocations: 47.59 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003143/0.125, allocations: 2.42 MB / 331.4 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1267, allocations: 1.042 MB / 332.4 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.1269, allocations: 4 kB / 332.4 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005301/0.1275, allocations: 155.4 kB / 332.6 MB, free: 436 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004412/0.1279, allocations: 175 kB / 332.8 MB, free: 260 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.1283, allocations: 127.7 kB / 332.9 MB, free: 132 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004572/0.1288, allocations: 394.1 kB / 333.3 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.129, allocations: 94.47 kB / 333.4 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.1292, allocations: 159.4 kB / 333.5 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.1295, allocations: 187.3 kB / 333.7 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.288e-05/0.1295, allocations: 20 kB / 333.7 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.1296, allocations: 55.94 kB / 333.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.1297, allocations: 75.67 kB / 333.9 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.1299, allocations: 97.5 kB / 334 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.1302, allocations: 347.4 kB / 334.3 MB, free: 14.72 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1303, allocations: 0 / 334.3 MB, free: 14.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.419e-06/0.1303, allocations: 0 / 334.3 MB, free: 14.72 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1303, allocations: 3.938 kB / 334.3 MB, free: 14.71 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.0009942/0.1313, allocations: 0.6383 MB / 334.9 MB, free: 14.03 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.1313, allocations: 8.031 kB / 334.9 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.1315, allocations: 47.48 kB / 335 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.1319, allocations: 321.7 kB / 335.3 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.132, allocations: 16.44 kB / 335.3 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.132, allocations: 16 kB / 335.3 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.1325, allocations: 289.5 kB / 335.6 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1326, allocations: 3.906 kB / 335.6 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.1326, allocations: 12 kB / 335.6 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.1326, allocations: 8 kB / 335.6 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.1329, allocations: 153.6 kB / 335.8 MB, free: 13.09 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.001336/0.1342, allocations: 0.8169 MB / 336.6 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003935/0.1347, allocations: 187.9 kB / 336.8 MB, free: 12.01 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.1348, allocations: 85.14 kB / 336.9 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.434e-05/0.1349, allocations: 4.188 kB / 336.9 MB, free: 11.92 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002755/0.1351, allocations: 127.5 kB / 337 MB, free: 11.79 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.412e-06/0.1352, allocations: 0 / 337 MB, free: 11.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007634/0.1359, allocations: 403.5 kB / 337.4 MB, free: 11.36 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/0.1361, allocations: 328.2 kB / 337.7 MB, free: 10.97 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/0.1366, allocations: 429.6 kB / 338.1 MB, free: 10.54 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.1366, allocations: 33.7 kB / 338.2 MB, free: 10.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.1368, allocations: 200.2 kB / 338.4 MB, free: 10.3 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.1369, allocations: 82.84 kB / 338.4 MB, free: 10.22 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.1369, allocations: 7.938 kB / 338.5 MB, free: 10.21 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.137, allocations: 346.8 kB / 338.8 MB, free: 9.867 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.1372, allocations: 63.97 kB / 338.9 MB, free: 9.805 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.1374, allocations: 172 kB / 339 MB, free: 9.594 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.1376, allocations: 83.94 kB / 339.1 MB, free: 9.512 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1376, allocations: 3.984 kB / 339.1 MB, free: 9.508 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004332/0.138, allocations: 269.8 kB / 339.4 MB, free: 9.234 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1381, allocations: 4 kB / 339.4 MB, free: 9.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1381, allocations: 0 / 339.4 MB, free: 9.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.1382, allocations: 44.88 kB / 339.4 MB, free: 9.184 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.1384, allocations: 44.08 kB / 339.5 MB, free: 9.141 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.1399, allocations: 1.46 MB / 340.9 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.14, allocations: 27.88 kB / 341 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1401, allocations: 4 kB / 341 MB, free: 7.504 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 ($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.0002232/0.1403, allocations: 165.8 kB / 341.1 MB, free: 7.332 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.1404, allocations: 47.53 kB / 341.2 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.82e-05/0.1405, allocations: 39.59 kB / 341.2 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1405, allocations: 3.953 kB / 341.2 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1405, allocations: 8 kB / 341.2 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006852/0.1412, allocations: 0.579 MB / 341.8 MB, free: 6.547 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.1423, allocations: 0.7044 MB / 342.5 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.1423, allocations: 3.984 kB / 342.5 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.1425, allocations: 43.94 kB / 342.5 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1425, allocations: 0 / 342.5 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.1425, allocations: 8 kB / 342.6 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1425, allocations: 7.984 kB / 342.6 MB, free: 5.719 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1425, allocations: 0 / 342.6 MB, free: 5.719 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006436/0.1432, allocations: 398.7 kB / 343 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.1434, allocations: 140.7 kB / 343.1 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/0.1435, allocations: 11.95 kB / 343.1 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.1437, allocations: 15.91 kB / 343.1 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.1438, allocations: 12.03 kB / 343.1 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.1438, allocations: 16 kB / 343.1 MB, free: 5.102 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003391/0.1441, allocations: 307.1 kB / 343.4 MB, free: 4.809 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.324e-06/0.1442, allocations: 0 / 343.4 MB, free: 4.809 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003869/0.1445, allocations: 91.88 kB / 343.5 MB, free: 4.719 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 (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.001065/0.1456, allocations: 424.6 kB / 343.9 MB, free: 4.312 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006108/0.1462, allocations: 311.1 kB / 344.3 MB, free: 3.996 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1463, allocations: 0 / 344.3 MB, free: 3.996 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.1464, allocations: 87.62 kB / 344.3 MB, free: 3.91 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005953/0.147, allocations: 101.6 kB / 344.4 MB, free: 3.809 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.1485, allocations: 0.9659 MB / 345.4 MB, free: 2.812 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.149, allocations: 0.7924 MB / 346.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.864e-05/0.149, allocations: 35.44 kB / 346.2 MB, free: 1.961 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.149, allocations: 0 / 346.2 MB, free: 1.961 MB / 286.1 MB Notification: Performance of Templates: time 0.00925/0.1583, allocations: 5.766 MB / 352 MB, free: 12.18 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++ 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_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