Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 98.06 kB / 17.96 MB, free: 5.637 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.00123/0.00123, allocations: 175.8 kB / 18.86 MB, free: 4.773 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.109/2.109, 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.0004624/0.0004627, allocations: 8 kB / 282 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1269, allocations: 47.58 MB / 329.6 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005328/0.1323, allocations: 4.547 MB / 334.2 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.1354, allocations: 1.255 MB / 335.4 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000544/0.136, allocations: 11.94 kB / 335.4 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.1365, allocations: 131.1 kB / 335.5 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007835/0.1373, allocations: 277.8 kB / 335.8 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005148/0.1378, allocations: 199.7 kB / 336 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.1391, allocations: 1.102 MB / 337.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004547/0.1395, allocations: 298.5 kB / 337.4 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004613/0.14, allocations: 402.4 kB / 337.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000537/0.1405, allocations: 466 kB / 338.3 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.1407, allocations: 64 kB / 338.3 MB, free: 11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.1408, allocations: 68 kB / 338.4 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.141, allocations: 187.2 kB / 338.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005108/0.1415, allocations: 499.5 kB / 339.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008749/0.1424, allocations: 0.8646 MB / 339.9 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.1424, allocations: 4 kB / 339.9 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1424, allocations: 0 / 339.9 MB, free: 9.383 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.1425, allocations: 0 / 339.9 MB, free: 9.383 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002151/0.1446, allocations: 1.162 MB / 341.1 MB, free: 8.148 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.1447, allocations: 8.031 kB / 341.1 MB, free: 8.141 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.1449, allocations: 107.8 kB / 341.2 MB, free: 8.035 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007625/0.1457, allocations: 0.5396 MB / 341.7 MB, free: 7.453 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/0.1459, allocations: 155 kB / 341.9 MB, free: 7.285 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.146, allocations: 64.31 kB / 342 MB, free: 7.223 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.1475, allocations: 0.8472 MB / 342.8 MB, free: 6.273 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.1475, allocations: 3.938 kB / 342.8 MB, free: 6.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.1476, allocations: 32 kB / 342.8 MB, free: 6.238 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.1476, allocations: 12 kB / 342.8 MB, free: 6.227 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.149, allocations: 0.5829 MB / 343.4 MB, free: 5.645 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.003657/0.1527, allocations: 2.123 MB / 345.6 MB, free: 3.41 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.1546, allocations: 0.9997 MB / 346.6 MB, free: 2.348 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006988/0.1553, allocations: 387 kB / 346.9 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.282e-05/0.1553, allocations: 16.7 kB / 346.9 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.1554, allocations: 51.16 kB / 347 MB, free: 1.891 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 2.785e-06/0.1554, allocations: 0 / 347 MB, free: 1.891 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.004844/0.1603, allocations: 1.886 MB / 348.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003813/0.1606, allocations: 0.8195 MB / 349.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008175/0.1615, allocations: 0.6371 MB / 350.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.287e-05/0.1616, allocations: 45.7 kB / 350.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.1618, allocations: 329.1 kB / 350.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.1621, allocations: 252.2 kB / 351 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.295e-05/0.1622, allocations: 61.69 kB / 351 MB, free: 13.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.1624, allocations: 394.7 kB / 351.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005447/0.163, allocations: 257.9 kB / 351.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008073/0.1638, allocations: 0.5468 MB / 352.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.165, allocations: 0.6622 MB / 352.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.165, allocations: 0 / 352.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002451/0.1674, allocations: 1.122 MB / 354 MB, free: 10.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.313e-05/0.1675, allocations: 89.11 kB / 354.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.1675, allocations: 0 / 354.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007768/0.1683, allocations: 255.2 kB / 354.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005538/0.1689, allocations: 127.9 kB / 354.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008322/0.1772, allocations: 6.495 MB / 360.9 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.1783, allocations: 111.6 kB / 361 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.1783, allocations: 20 kB / 361.1 MB, free: 2.766 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004041/0.1787, allocations: 217.7 kB / 361.3 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.1789, allocations: 90.95 kB / 361.4 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.1791, allocations: 95.33 kB / 361.5 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.1791, allocations: 7.938 kB / 361.5 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.1791, allocations: 4 kB / 361.5 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002337/0.1814, allocations: 1.253 MB / 362.7 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003741/0.1852, allocations: 1.93 MB / 364.7 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1852, allocations: 4.062 kB / 364.7 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/0.1858, allocations: 127.9 kB / 364.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005748/0.1864, allocations: 218.3 kB / 365 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.1865, allocations: 12 kB / 365 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00603/0.1925, allocations: 4.993 MB / 370 MB, free: 9.219 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1925, allocations: 240 / 370 MB, free: 9.219 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003269/0.1958, allocations: 1.405 MB / 371.4 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005964/0.1964, allocations: 232.2 kB / 371.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.1965, allocations: 20 kB / 371.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006087/0.1972, allocations: 55.88 kB / 371.7 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/0.1974, allocations: 64.44 kB / 371.8 MB, free: 7.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.1974, allocations: 19.98 kB / 371.8 MB, free: 7.379 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006586/0.1981, allocations: 459.1 kB / 372.2 MB, free: 6.938 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1981, allocations: 3.938 kB / 372.2 MB, free: 6.934 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009027/0.199, allocations: 279.8 kB / 372.5 MB, free: 6.66 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001883/0.1992, allocations: 135.1 kB / 372.6 MB, free: 6.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002014/0.2012, allocations: 1.305 MB / 374 MB, free: 5.125 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.2012, allocations: 4.125 kB / 374 MB, free: 5.121 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.2023, allocations: 0.7067 MB / 374.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.2033, allocations: 222.8 kB / 374.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.2068, allocations: 2.019 MB / 376.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/0.2074, allocations: 0.9323 MB / 377.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.2076, allocations: 67.42 kB / 377.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of SimCode: time 9.62e-07/0.2076, allocations: 4 kB / 377.9 MB, free: 1.066 MB / 318.1 MB Notification: Performance of Templates: time 0.2471/0.4547, allocations: 21.9 MB / 399.8 MB, free: 41.23 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCoolingCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCoolingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCoolingCalcHelperMain.o] Error 1