Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009145/0.0009144, allocations: 92.55 kB / 16.96 MB, free: 6.453 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.0008264/0.0008264, allocations: 183.3 kB / 17.85 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 223.3 MB / 241.9 MB, free: 14.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.000341, allocations: 4.531 kB / 301.5 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 50.42 MB / 351.9 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00448/0.1362, allocations: 3.156 MB / 355 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.1385, allocations: 0.8688 MB / 355.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005048/0.1391, allocations: 4 kB / 355.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004223/0.1395, allocations: 83.36 kB / 356 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008048/0.1403, allocations: 166.7 kB / 356.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.1408, allocations: 95.89 kB / 356.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001283/0.1421, allocations: 0.6021 MB / 356.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003553/0.1424, allocations: 150.1 kB / 357 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004948/0.1429, allocations: 219.2 kB / 357.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.1433, allocations: 270.8 kB / 357.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.6e-05/0.1434, allocations: 36 kB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.986e-05/0.1434, allocations: 36 kB / 357.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.487e-05/0.1435, allocations: 103.6 kB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.1437, allocations: 129.4 kB / 357.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005029/0.1442, allocations: 0.5105 MB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.1442, allocations: 4 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1442, allocations: 0 / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1442, allocations: 0 / 358.3 MB, free: 13.34 MB / 302.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.001441/0.1457, allocations: 0.8154 MB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1457, allocations: 12.03 kB / 359.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.1459, allocations: 59.34 kB / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000853/0.1467, allocations: 417.5 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.1469, allocations: 90.31 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.147, allocations: 36 kB / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008838/0.1479, allocations: 0.5002 MB / 360.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.1479, allocations: 4 kB / 360.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-05/0.148, allocations: 12 kB / 360.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.148, allocations: 8 kB / 360.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009095/0.1489, allocations: 382.4 kB / 360.6 MB, free: 10.87 MB / 302.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.002048/0.151, allocations: 1.306 MB / 361.9 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007387/0.1517, allocations: 410.1 kB / 362.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004394/0.1522, allocations: 200.8 kB / 362.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.1522, allocations: 4 kB / 362.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.1523, allocations: 46.5 kB / 362.5 MB, free: 8.793 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.433e-06/0.1523, allocations: 0 / 362.5 MB, free: 8.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001665/0.1539, allocations: 0.79 MB / 363.3 MB, free: 7.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002236/0.1542, allocations: 445 kB / 363.8 MB, free: 7.414 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005318/0.1547, allocations: 457.8 kB / 364.2 MB, free: 6.953 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.1548, allocations: 33.7 kB / 364.2 MB, free: 6.914 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.155, allocations: 240.4 kB / 364.5 MB, free: 6.676 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.1551, allocations: 122.3 kB / 364.6 MB, free: 6.555 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/0.1551, allocations: 7.938 kB / 364.6 MB, free: 6.547 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1553, allocations: 362.8 kB / 365 MB, free: 6.184 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004062/0.1557, allocations: 159.9 kB / 365.1 MB, free: 6.027 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005399/0.1563, allocations: 298.8 kB / 365.4 MB, free: 5.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004517/0.1567, allocations: 211.2 kB / 365.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1568, allocations: 0 / 365.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001103/0.1579, allocations: 0.5176 MB / 366.1 MB, free: 4.934 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/0.1579, allocations: 33.73 kB / 366.2 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1579, allocations: 4 kB / 366.2 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001746/0.1581, allocations: 49.69 kB / 366.2 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.1585, allocations: 95.81 kB / 366.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/0.1612, allocations: 2.748 MB / 369.1 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.1618, allocations: 67.69 kB / 369.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.1618, allocations: 12 kB / 369.1 MB, free: 1.645 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000296/0.1621, allocations: 166.5 kB / 369.3 MB, free: 1.473 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.805e-05/0.1622, allocations: 59.3 kB / 369.4 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.1623, allocations: 52.75 kB / 369.4 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1624, allocations: 4 kB / 369.4 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1624, allocations: 240 / 369.4 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00116/0.1635, allocations: 0.7713 MB / 370.2 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2309/0.3944, allocations: 1.051 MB / 371.2 MB, free: 24.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.3945, allocations: 3.438 kB / 371.2 MB, free: 24.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.395, allocations: 103.6 kB / 371.3 MB, free: 24.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.517e-05/0.395, allocations: 2.359 kB / 371.3 MB, free: 24.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.3951, allocations: 6.766 kB / 371.4 MB, free: 24.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.3951, allocations: 1.094 kB / 371.4 MB, free: 24.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3951, allocations: 1.188 kB / 371.4 MB, free: 24.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.3968, allocations: 0.7191 MB / 372.1 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.3971, allocations: 167.7 kB / 372.2 MB, free: 24.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.39e-05/0.3972, allocations: 11.27 kB / 372.2 MB, free: 24.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.3976, allocations: 44.78 kB / 372.3 MB, free: 24.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-05/0.3977, allocations: 23.11 kB / 372.3 MB, free: 24.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.3977, allocations: 13.16 kB / 372.3 MB, free: 24.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004945/0.3983, allocations: 321.2 kB / 372.6 MB, free: 24.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3983, allocations: 4.266 kB / 372.6 MB, free: 24.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005719/0.3988, allocations: 141.3 kB / 372.8 MB, free: 24.64 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 (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.0001544/0.399, allocations: 109.2 kB / 372.9 MB, free: 24.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.4003, allocations: 0.6814 MB / 373.6 MB, free: 24.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4003, allocations: 1.719 kB / 373.6 MB, free: 24.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005266/0.4009, allocations: 195.5 kB / 373.8 MB, free: 24.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008039/0.4017, allocations: 132.7 kB / 373.9 MB, free: 24.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.4036, allocations: 1.144 MB / 375 MB, free: 23.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.404, allocations: 0.8362 MB / 375.9 MB, free: 22.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.4042, allocations: 47.39 kB / 375.9 MB, free: 22.86 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4042, allocations: 0 / 375.9 MB, free: 22.86 MB / 302.1 MB Notification: Performance of Templates: time 0.01521/0.4194, allocations: 8.826 MB / 384.7 MB, free: 20.1 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMassCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMassCalcHelperMain.o] Error 1