Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009831/0.000983, allocations: 100.5 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.001315/0.001315, allocations: 179 kB / 18.86 MB, free: 4.906 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.06/2.06, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005047/0.0005049, allocations: 19.92 kB / 282 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.118, allocations: 47.58 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.00674/0.1248, allocations: 5.186 MB / 334.8 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003992/0.1289, allocations: 1.399 MB / 336.2 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.1301, allocations: 15.94 kB / 336.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008571/0.131, allocations: 151 kB / 336.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.1327, allocations: 341.3 kB / 336.7 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008444/0.1336, allocations: 223.8 kB / 336.9 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.1359, allocations: 1.288 MB / 338.2 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007499/0.1367, allocations: 372.3 kB / 338.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000985/0.1377, allocations: 470.1 kB / 339 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.1388, allocations: 0.5367 MB / 339.6 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003809/0.1392, allocations: 80 kB / 339.6 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004684/0.1397, allocations: 80 kB / 339.7 MB, free: 9.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003678/0.1401, allocations: 211.2 kB / 339.9 MB, free: 9.363 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.1412, allocations: 0.5926 MB / 340.5 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.1425, allocations: 1.024 MB / 341.5 MB, free: 7.734 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1425, allocations: 0 / 341.5 MB, free: 7.734 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1425, allocations: 0 / 341.5 MB, free: 7.734 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.1425, allocations: 0 / 341.5 MB, free: 7.734 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002616/0.1452, allocations: 1.291 MB / 342.8 MB, free: 6.371 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.1452, allocations: 19.97 kB / 342.8 MB, free: 6.352 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.1455, allocations: 135.5 kB / 343 MB, free: 6.219 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000963/0.1465, allocations: 0.6265 MB / 343.6 MB, free: 5.551 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002491/0.1467, allocations: 159.6 kB / 343.8 MB, free: 5.379 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.1468, allocations: 64.38 kB / 343.8 MB, free: 5.316 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.1485, allocations: 0.9786 MB / 344.8 MB, free: 4.219 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.1485, allocations: 4 kB / 344.8 MB, free: 4.215 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.1487, allocations: 32 kB / 344.8 MB, free: 4.184 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/0.1487, allocations: 16 kB / 344.9 MB, free: 4.168 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.1501, allocations: 0.6558 MB / 345.5 MB, free: 3.516 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.00443/0.1546, allocations: 2.644 MB / 348.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002652/0.1572, allocations: 0.8904 MB / 349 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00073/0.158, allocations: 370.3 kB / 349.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.887e-05/0.158, allocations: 12.64 kB / 349.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.1581, allocations: 47.22 kB / 349.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.245e-06/0.1581, allocations: 0 / 349.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.003044/0.1612, allocations: 1.447 MB / 350.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005078/0.1617, allocations: 0.9527 MB / 351.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.1627, allocations: 0.7864 MB / 352.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.719e-05/0.1628, allocations: 45.7 kB / 352.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.1631, allocations: 412.5 kB / 353.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.1634, allocations: 244.3 kB / 353.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.1635, allocations: 77.61 kB / 353.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1637, allocations: 330 kB / 353.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006151/0.1643, allocations: 265.9 kB / 354 MB, free: 10.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.1655, allocations: 0.5958 MB / 354.6 MB, free: 9.738 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.1667, allocations: 0.693 MB / 355.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1667, allocations: 0 / 355.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001816/0.1686, allocations: 0.9743 MB / 356.3 MB, free: 8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.156e-05/0.1687, allocations: 85.11 kB / 356.3 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.1687, allocations: 3.984 kB / 356.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004225/0.1691, allocations: 124.2 kB / 356.5 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.1698, allocations: 163.8 kB / 356.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005977/0.1758, allocations: 6.797 MB / 363.4 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.1769, allocations: 119.1 kB / 363.5 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.177, allocations: 20.05 kB / 363.6 MB, free: 15.99 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004443/0.1774, allocations: 241.7 kB / 363.8 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.1776, allocations: 102.8 kB / 363.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.1778, allocations: 104.9 kB / 364 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1778, allocations: 8 kB / 364 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.1779, allocations: 0 / 364 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00146/0.1793, allocations: 0.9896 MB / 365 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.1822, allocations: 1.785 MB / 366.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1823, allocations: 0 / 366.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007381/0.183, allocations: 163.8 kB / 366.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.1831, allocations: 28.84 kB / 367 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.1832, allocations: 12 kB / 367 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.1842, allocations: 1.308 MB / 368.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1842, allocations: 0 / 368.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.1862, allocations: 1.111 MB / 369.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003688/0.1866, allocations: 259.7 kB / 369.7 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.1867, allocations: 20 kB / 369.7 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006685/0.1874, allocations: 55.89 kB / 369.7 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.747e-05/0.1875, allocations: 48.53 kB / 369.8 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.1875, allocations: 16 kB / 369.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007718/0.1883, allocations: 0.5498 MB / 370.3 MB, free: 8.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1883, allocations: 0 / 370.3 MB, free: 8.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008507/0.1892, allocations: 291.7 kB / 370.6 MB, free: 8.555 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000225/0.1894, allocations: 123.1 kB / 370.7 MB, free: 8.426 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00227/0.1917, allocations: 1.409 MB / 372.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/0.1917, allocations: 7.859 kB / 372.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007376/0.1925, allocations: 438.4 kB / 372.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.1937, allocations: 259.2 kB / 372.8 MB, free: 6.219 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.197, allocations: 2.144 MB / 375 MB, free: 4.043 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/0.1976, allocations: 0.9758 MB / 376 MB, free: 3.039 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.1978, allocations: 87.42 kB / 376 MB, free: 2.953 MB / 318.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1978, allocations: 0 / 376 MB, free: 2.953 MB / 318.1 MB Notification: Performance of Templates: time 0.2803/0.4781, allocations: 24.12 MB / 400.2 MB, free: 40.5 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCoolingCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCoolingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCoolingCalcHelperMain.o] Error 1