Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001392, allocations: 92.31 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00225/0.00225, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.676/1.676, allocations: 227.3 MB / 246.6 MB, free: 10.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003571, allocations: 4 kB / 307.3 MB, free: 1.387 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1418, allocations: 51.49 MB / 358.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001817/0.1436, allocations: 1.317 MB / 360.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008919/0.1445, allocations: 0.5302 MB / 360.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.5e-05/0.1446, allocations: 3.938 kB / 360.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.1446, allocations: 11.98 kB / 360.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.129e-05/0.1447, allocations: 19.78 kB / 360.7 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.145, allocations: 23.97 kB / 360.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.1451, allocations: 95.53 kB / 360.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.1452, allocations: 23.98 kB / 360.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.176e-05/0.1453, allocations: 35.84 kB / 360.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.1454, allocations: 31.91 kB / 360.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1454, allocations: 4 kB / 360.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.133e-05/0.1455, allocations: 8 kB / 360.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.1455, allocations: 15.94 kB / 360.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.1456, allocations: 37.64 kB / 360.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.1457, allocations: 80.06 kB / 361 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1457, allocations: 0 / 361 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1458, allocations: 3.938 kB / 361 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1458, allocations: 0 / 361 MB, free: 11.64 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004733/0.1463, allocations: 371.2 kB / 361.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1463, allocations: 8.031 kB / 361.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.1465, allocations: 11.91 kB / 361.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.1466, allocations: 170.9 kB / 361.6 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1466, allocations: 12 kB / 361.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.1467, allocations: 11.95 kB / 361.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.1469, allocations: 88 kB / 361.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1469, allocations: 0 / 361.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1469, allocations: 4 kB / 361.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1469, allocations: 4 kB / 361.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.147, allocations: 47.97 kB / 361.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007517/0.1478, allocations: 404.6 kB / 362.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.1479, allocations: 74.53 kB / 362.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.148, allocations: 28.86 kB / 362.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.148, allocations: 0 / 362.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.148, allocations: 50.48 kB / 362.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.1481, allocations: 0 / 362.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002118/0.1483, allocations: 81.83 kB / 362.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.1483, allocations: 51.41 kB / 362.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.487e-05/0.1484, allocations: 105.8 kB / 362.5 MB, free: 9.957 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1484, allocations: 29.7 kB / 362.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.781e-05/0.1485, allocations: 103.8 kB / 362.6 MB, free: 9.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.1486, allocations: 23.66 kB / 362.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.1486, allocations: 4 kB / 362.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1487, allocations: 326.8 kB / 363 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/0.1488, allocations: 20 kB / 363 MB, free: 9.441 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.1488, allocations: 46.5 kB / 363.1 MB, free: 9.387 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.149, allocations: 28 kB / 363.1 MB, free: 9.359 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.149, allocations: 0 / 363.1 MB, free: 9.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001672/0.1492, allocations: 117.4 kB / 363.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1492, allocations: 8.062 kB / 363.2 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1492, allocations: 0 / 363.2 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1492, allocations: 4 kB / 363.2 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1494, allocations: 23.98 kB / 363.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1494, allocations: 0 / 363.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.668e-05/0.1494, allocations: 8.156 kB / 363.2 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1495, allocations: 8 kB / 363.2 MB, free: 9.188 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 (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 0.0001201/0.1496, allocations: 121.7 kB / 363.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.1496, allocations: 4 kB / 363.4 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.1496, allocations: 16.38 kB / 363.4 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1497, allocations: 3.938 kB / 363.4 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.1497, allocations: 3.984 kB / 363.4 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1497, allocations: 0 / 363.4 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.15, allocations: 193.5 kB / 363.6 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.15, allocations: 0 / 363.6 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.1501, allocations: 19.98 kB / 363.6 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1502, allocations: 4 kB / 363.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1502, allocations: 0 / 363.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1502, allocations: 4 kB / 363.6 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1502, allocations: 0 / 363.6 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.1504, allocations: 199.4 kB / 363.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.1505, allocations: 84.95 kB / 363.9 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.1505, allocations: 4.031 kB / 363.9 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.812e-05/0.1506, allocations: 0 / 363.9 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.1506, allocations: 7.984 kB / 363.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.1506, allocations: 64 / 363.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.207e-05/0.1507, allocations: 87.28 kB / 364 MB, free: 8.355 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1507, allocations: 0 / 364 MB, free: 8.355 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.1509, allocations: 24 kB / 364 MB, free: 8.332 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.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 (8): * Single equations (assignments): 8 * 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.0001165/0.1511, allocations: 95.23 kB / 364.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.1512, allocations: 59.92 kB / 364.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1512, allocations: 0 / 364.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.447e-05/0.1513, allocations: 23.94 kB / 364.2 MB, free: 8.145 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.1515, allocations: 14.5 kB / 364.2 MB, free: 8.133 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006409/0.1522, allocations: 410.6 kB / 364.6 MB, free: 7.699 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.1527, allocations: 0.7015 MB / 365.3 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.1527, allocations: 11.44 kB / 365.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1527, allocations: 0 / 365.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of Templates: time 0.00252/0.1552, allocations: 0.9342 MB / 366.2 MB, free: 6.023 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMassesCalcHelperMain.o OMCppModelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMassesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMassesCalcHelperMain.o] Error 1