Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass,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.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,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.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 98.7 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.001125/0.001125, allocations: 178.3 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 1.949/1.949, 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.000535/0.0005352, allocations: 12.47 kB / 282 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1425, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.007154/0.1498, allocations: 4.635 MB / 334.2 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003138/0.153, allocations: 1.275 MB / 335.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003434/0.1534, allocations: 11.94 kB / 335.5 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004299/0.1538, allocations: 123.2 kB / 335.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007555/0.1546, allocations: 285.7 kB / 335.9 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/0.155, allocations: 199.7 kB / 336.1 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.1562, allocations: 1.117 MB / 337.2 MB, free: 12.08 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004454/0.1567, allocations: 286 kB / 337.5 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004548/0.1571, allocations: 406.4 kB / 337.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005578/0.1577, allocations: 477.9 kB / 338.4 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.1578, allocations: 68 kB / 338.5 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.158, allocations: 68 kB / 338.5 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.1582, allocations: 183.2 kB / 338.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005248/0.1587, allocations: 0.4993 MB / 339.2 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008933/0.1596, allocations: 0.8803 MB / 340.1 MB, free: 9.219 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.1596, allocations: 4 kB / 340.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.1596, allocations: 0 / 340.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.1597, allocations: 0 / 340.1 MB, free: 9.215 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002524/0.1622, allocations: 1.197 MB / 341.3 MB, free: 7.945 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.793e-05/0.1623, allocations: 12.03 kB / 341.3 MB, free: 7.934 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.1625, allocations: 107.8 kB / 341.4 MB, free: 7.828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009795/0.1635, allocations: 0.5832 MB / 342 MB, free: 7.207 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003787/0.1639, allocations: 182.9 kB / 342.2 MB, free: 7.012 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.164, allocations: 60.11 kB / 342.2 MB, free: 6.953 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.1656, allocations: 0.8783 MB / 343.1 MB, free: 5.973 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.1657, allocations: 3.938 kB / 343.1 MB, free: 5.969 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.782e-05/0.1658, allocations: 32 kB / 343.1 MB, free: 5.938 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.1658, allocations: 12 kB / 343.1 MB, free: 5.926 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.1673, allocations: 0.661 MB / 343.8 MB, free: 5.262 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.003525/0.1709, allocations: 2.084 MB / 345.9 MB, free: 3.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.1726, allocations: 0.8858 MB / 346.8 MB, free: 2.125 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000886/0.1735, allocations: 422.6 kB / 347.2 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.319e-05/0.1736, allocations: 24.62 kB / 347.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.1736, allocations: 43.22 kB / 347.3 MB, free: 1.637 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 2.705e-06/0.1736, allocations: 0 / 347.3 MB, free: 1.637 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.005673/0.1793, allocations: 2 MB / 349.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008103/0.1801, allocations: 0.8234 MB / 350.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009237/0.1811, allocations: 0.6371 MB / 350.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.33e-05/0.1812, allocations: 45.7 kB / 350.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.1815, allocations: 329 kB / 351.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/0.1818, allocations: 260.1 kB / 351.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.182, allocations: 57.69 kB / 351.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002468/0.1822, allocations: 386.8 kB / 351.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007504/0.183, allocations: 305.8 kB / 352.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.184, allocations: 0.5858 MB / 352.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.1857, allocations: 0.7402 MB / 353.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1857, allocations: 3.938 kB / 353.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003133/0.1888, allocations: 1.204 MB / 354.6 MB, free: 9.797 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.1889, allocations: 85.09 kB / 354.7 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.189, allocations: 4 kB / 354.7 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007749/0.1897, allocations: 243.3 kB / 354.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006677/0.1904, allocations: 163.7 kB / 355.1 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008669/0.1991, allocations: 6.488 MB / 361.6 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.2007, allocations: 135.3 kB / 361.7 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.2008, allocations: 20 kB / 361.7 MB, free: 2.102 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 (69): * Single equations (assignments): 62 * 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.0006928/0.2015, allocations: 221.8 kB / 361.9 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/0.2018, allocations: 90.91 kB / 362 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.2021, allocations: 87.34 kB / 362.1 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.2021, allocations: 8 kB / 362.1 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.2021, allocations: 0 / 362.1 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003138/0.2053, allocations: 1.35 MB / 363.5 MB, free: 228 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005094/0.2104, allocations: 2.023 MB / 365.5 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.2104, allocations: 0 / 365.5 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008035/0.2112, allocations: 151.8 kB / 365.6 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006477/0.2119, allocations: 218.5 kB / 365.9 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.769e-05/0.212, allocations: 12 kB / 365.9 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007124/0.2191, allocations: 5.067 MB / 370.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2191, allocations: 3.938 kB / 370.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004061/0.2232, allocations: 1.519 MB / 372.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007557/0.224, allocations: 247.8 kB / 372.7 MB, free: 6.473 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/0.2243, allocations: 20 kB / 372.7 MB, free: 6.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008845/0.2252, allocations: 67.94 kB / 372.8 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.2254, allocations: 60.56 kB / 372.8 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/0.2254, allocations: 24.06 kB / 372.9 MB, free: 6.305 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007113/0.2261, allocations: 463 kB / 373.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2261, allocations: 0 / 373.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001267/0.2274, allocations: 279.6 kB / 373.6 MB, free: 5.586 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0002422/0.2277, allocations: 127.1 kB / 373.7 MB, free: 5.453 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002977/0.2307, allocations: 1.403 MB / 375.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/0.2307, allocations: 7.938 kB / 375.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.2323, allocations: 0.816 MB / 375.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.2338, allocations: 218.8 kB / 376.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.2375, allocations: 2.032 MB / 378.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.243/0.4805, allocations: 0.9401 MB / 379.1 MB, free: 51.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/0.4811, allocations: 65.31 kB / 379.2 MB, free: 51.45 MB / 318.1 MB Notification: Performance of SimCode: time 1.653e-06/0.4811, allocations: 0 / 379.2 MB, free: 51.45 MB / 318.1 MB Notification: Performance of Templates: time 0.04138/0.5225, allocations: 22.44 MB / 401.6 MB, free: 40.2 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMassCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMassCalcHelperMain.o] Error 1