Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001019/0.001019, allocations: 95.47 kB / 17.63 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001531/0.001531, allocations: 195 kB / 18.54 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, allocations: 227.3 MB / 246.6 MB, free: 10.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002876, allocations: 4 kB / 307.3 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 51.51 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004393/0.1256, allocations: 3.004 MB / 361.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.1272, allocations: 0.8805 MB / 362.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.1274, allocations: 4 kB / 362.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.1277, allocations: 71.45 kB / 362.8 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.128, allocations: 162.7 kB / 362.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.1283, allocations: 99.89 kB / 363 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006056/0.1289, allocations: 0.5558 MB / 363.6 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003064/0.1292, allocations: 162.3 kB / 363.7 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.1294, allocations: 211.2 kB / 363.9 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003768/0.1298, allocations: 243 kB / 364.2 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.13, allocations: 32 kB / 364.2 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.843e-05/0.13, allocations: 36 kB / 364.2 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.095e-05/0.1301, allocations: 91.67 kB / 364.3 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.1303, allocations: 125.4 kB / 364.4 MB, free: 8.223 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005517/0.1309, allocations: 482.9 kB / 364.9 MB, free: 7.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1309, allocations: 3.938 kB / 364.9 MB, free: 7.746 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1309, allocations: 0 / 364.9 MB, free: 7.746 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.1309, allocations: 0 / 364.9 MB, free: 7.746 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001266/0.1322, allocations: 0.7649 MB / 365.7 MB, free: 6.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1323, allocations: 12.03 kB / 365.7 MB, free: 6.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.1324, allocations: 59.34 kB / 365.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.1329, allocations: 377.7 kB / 366.1 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.1331, allocations: 62.3 kB / 366.2 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/0.1332, allocations: 35.94 kB / 366.2 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007744/0.1339, allocations: 455.2 kB / 366.7 MB, free: 5.852 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.134, allocations: 4 kB / 366.7 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.134, allocations: 16 kB / 366.7 MB, free: 5.832 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.134, allocations: 8 kB / 366.7 MB, free: 5.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000593/0.1346, allocations: 282.5 kB / 367 MB, free: 5.547 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.002192/0.1368, allocations: 1.306 MB / 368.3 MB, free: 4.148 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.138, allocations: 432.5 kB / 368.7 MB, free: 3.695 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.1383, allocations: 148.8 kB / 368.8 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.1383, allocations: 4 kB / 368.8 MB, free: 3.543 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1384, allocations: 42.56 kB / 368.9 MB, free: 3.492 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 3.487e-06/0.1384, allocations: 0 / 368.9 MB, free: 3.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001204/0.1396, allocations: 0.6154 MB / 369.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002741/0.1399, allocations: 445 kB / 369.9 MB, free: 2.289 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000613/0.1405, allocations: 449.9 kB / 370.4 MB, free: 1.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.1405, allocations: 37.7 kB / 370.4 MB, free: 1.797 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.1407, allocations: 232.4 kB / 370.6 MB, free: 1.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.087e-05/0.1408, allocations: 110.4 kB / 370.7 MB, free: 1.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/0.1409, allocations: 8 kB / 370.8 MB, free: 1.449 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.1411, allocations: 354.8 kB / 371.1 MB, free: 1.094 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.1413, allocations: 120.5 kB / 371.2 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003799/0.1417, allocations: 252.1 kB / 371.5 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.1421, allocations: 163.2 kB / 371.6 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1421, allocations: 0 / 371.6 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008282/0.1429, allocations: 428.9 kB / 372 MB, free: 76 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/0.143, allocations: 33.73 kB / 372.1 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.143, allocations: 4 kB / 372.1 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2456/0.3886, allocations: 43.41 kB / 372.1 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004567/0.3891, allocations: 68.5 kB / 372.2 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.3913, allocations: 2.746 MB / 374.9 MB, free: 16.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/0.3919, allocations: 49.08 kB / 375 MB, free: 16.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.3919, allocations: 18.89 kB / 375 MB, free: 16.91 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 (36): * Single equations (assignments): 33 * 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.0002685/0.3922, allocations: 167.5 kB / 375.2 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.3923, allocations: 51.94 kB / 375.2 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.3925, allocations: 53.33 kB / 375.3 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.3925, allocations: 3.406 kB / 375.3 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.3925, allocations: 0.5938 kB / 375.3 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000692/0.3932, allocations: 0.6526 MB / 375.9 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.3948, allocations: 0.9043 MB / 376.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.3948, allocations: 3.953 kB / 376.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003488/0.3952, allocations: 71.55 kB / 376.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3952, allocations: 0.9062 kB / 376.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.3952, allocations: 9.797 kB / 376.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3952, allocations: 2.5 kB / 376.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3952, allocations: 7.922 kB / 376.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.3963, allocations: 0.5226 MB / 377.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.3964, allocations: 166.8 kB / 377.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/0.3965, allocations: 8 kB / 377.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.3968, allocations: 24.8 kB / 377.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.3969, allocations: 21.45 kB / 377.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.3969, allocations: 10.42 kB / 377.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004099/0.3973, allocations: 317.3 kB / 378 MB, free: 15.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3973, allocations: 0 / 378 MB, free: 15.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000531/0.3979, allocations: 132.9 kB / 378.1 MB, free: 15.54 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 (32): * Single equations (assignments): 32 * 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.0001426/0.398, allocations: 113.4 kB / 378.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009594/0.399, allocations: 0.5683 MB / 378.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.399, allocations: 0 / 378.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003004/0.3993, allocations: 130 kB / 378.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000701/0.4, allocations: 134.3 kB / 379.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.4017, allocations: 1.077 MB / 380.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.4021, allocations: 0.8204 MB / 380.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.4022, allocations: 40.95 kB / 381 MB, free: 13.73 MB / 302.1 MB Notification: Performance of SimCode: time 4.7e-07/0.4022, allocations: 0 / 381 MB, free: 13.73 MB / 302.1 MB Notification: Performance of Templates: time 0.01576/0.418, allocations: 8.182 MB / 389.2 MB, free: 11.35 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.FluidHeatFlow.Examples.SimpleCoolingCalcHelperMain.o OMCppModelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCoolingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCoolingCalcHelperMain.o] Error 1