Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001459, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.00185/0.001851, allocations: 194 kB / 18.72 MB, free: 4.762 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.875/1.875, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001212/0.001213, allocations: 47.94 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1289, allocations: 46.63 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.007712/0.1367, allocations: 3.677 MB / 330.9 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003001/0.1397, allocations: 1.021 MB / 331.9 MB, free: 176 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005569/0.1403, allocations: 4 kB / 331.9 MB, free: 172 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.1409, allocations: 95.36 kB / 332 MB, free: 76 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005498/0.1415, allocations: 170.8 kB / 332.2 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.1418, allocations: 115.9 kB / 332.3 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007635/0.1426, allocations: 0.6456 MB / 333 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.1429, allocations: 178.9 kB / 333.1 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.1432, allocations: 235 kB / 333.4 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004435/0.1437, allocations: 290.7 kB / 333.7 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.323e-05/0.1437, allocations: 40 kB / 333.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1439, allocations: 40 kB / 333.7 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.144, allocations: 111.5 kB / 333.8 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.1443, allocations: 286.6 kB / 334.1 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00055/0.1449, allocations: 0.5105 MB / 334.6 MB, free: 13.47 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.454e-05/0.1449, allocations: 4 kB / 334.6 MB, free: 13.47 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1449, allocations: 0 / 334.6 MB, free: 13.47 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.145, allocations: 7.938 kB / 334.6 MB, free: 13.46 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002068/0.147, allocations: 0.8855 MB / 335.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.964e-05/0.1471, allocations: 12.02 kB / 335.5 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002564/0.1474, allocations: 64.28 kB / 335.6 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007956/0.1482, allocations: 430.5 kB / 336 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/0.1485, allocations: 82.88 kB / 336.1 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.479e-05/0.1485, allocations: 32.38 kB / 336.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.1496, allocations: 0.4931 MB / 336.6 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.1496, allocations: 0 / 336.6 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/0.1497, allocations: 20 kB / 336.7 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.1497, allocations: 4 kB / 336.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009315/0.1506, allocations: 370.3 kB / 337 MB, free: 10.93 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.002403/0.153, allocations: 1.298 MB / 338.3 MB, free: 9.539 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008483/0.1539, allocations: 395.3 kB / 338.7 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/0.1544, allocations: 192.8 kB / 338.9 MB, free: 8.934 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.1544, allocations: 8 kB / 338.9 MB, free: 8.926 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.1545, allocations: 42.56 kB / 338.9 MB, free: 8.875 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 2.154e-06/0.1545, allocations: 4 kB / 338.9 MB, free: 8.871 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001964/0.1565, allocations: 0.7588 MB / 339.7 MB, free: 8.062 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003138/0.1568, allocations: 444.9 kB / 340.1 MB, free: 7.523 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/0.1574, allocations: 458 kB / 340.6 MB, free: 7.066 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.1575, allocations: 33.7 kB / 340.6 MB, free: 7.027 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.1577, allocations: 240.4 kB / 340.8 MB, free: 6.789 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.1579, allocations: 122.2 kB / 341 MB, free: 6.668 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.1581, allocations: 81.69 kB / 341 MB, free: 6.582 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003272/0.1584, allocations: 362.7 kB / 341.4 MB, free: 6.219 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/0.1589, allocations: 143.9 kB / 341.5 MB, free: 6.078 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006312/0.1595, allocations: 302.5 kB / 341.8 MB, free: 5.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008913/0.1604, allocations: 365.2 kB / 342.2 MB, free: 5.363 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1605, allocations: 0 / 342.2 MB, free: 5.363 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001159/0.1616, allocations: 0.4936 MB / 342.7 MB, free: 4.852 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.263e-05/0.1617, allocations: 40.81 kB / 342.7 MB, free: 4.809 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1617, allocations: 4.031 kB / 342.7 MB, free: 4.805 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/0.1619, allocations: 45.7 kB / 342.8 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.1624, allocations: 91.86 kB / 342.9 MB, free: 4.664 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/0.1653, allocations: 2.752 MB / 345.6 MB, free: 1.641 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.1658, allocations: 55.69 kB / 345.7 MB, free: 1.586 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.1659, allocations: 12 kB / 345.7 MB, free: 1.574 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003856/0.1663, allocations: 174.1 kB / 345.9 MB, free: 1.395 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.1664, allocations: 55.38 kB / 345.9 MB, free: 1.34 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.1665, allocations: 52.75 kB / 346 MB, free: 1.289 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.1665, allocations: 4 kB / 346 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.1665, allocations: 3.938 kB / 346 MB, free: 1.281 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001227/0.1678, allocations: 0.7518 MB / 346.7 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.1698, allocations: 1.056 MB / 347.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.1698, allocations: 4 kB / 347.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004494/0.1703, allocations: 87.88 kB / 347.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1703, allocations: 3.984 kB / 347.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.1703, allocations: 12 kB / 347.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1703, allocations: 0 / 347.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1703, allocations: 0 / 347.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.1717, allocations: 0.6933 MB / 348.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.172, allocations: 168.4 kB / 348.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.784e-05/0.172, allocations: 8 kB / 348.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.1724, allocations: 44.02 kB / 348.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.443e-05/0.1726, allocations: 19.97 kB / 348.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.1726, allocations: 8 kB / 348.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004576/0.173, allocations: 327.1 kB / 349.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1731, allocations: 0 / 349.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004795/0.1735, allocations: 135.8 kB / 349.3 MB, free: 13.78 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0001776/0.1737, allocations: 115.1 kB / 349.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.1751, allocations: 0.6648 MB / 350 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1751, allocations: 0 / 350 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.1756, allocations: 191.8 kB / 350.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.1768, allocations: 133.8 kB / 350.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.1791, allocations: 1.121 MB / 351.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/0.1799, allocations: 0.8275 MB / 352.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.18, allocations: 43.44 kB / 352.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.18, allocations: 0 / 352.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of Templates: time 0.0149/0.195, allocations: 8.866 MB / 361.2 MB, free: 1.719 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMassCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMassCalcHelperMain.o] Error 1