Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 89.14 kB / 17.58 MB, free: 6.219 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.001206/0.001206, allocations: 188.5 kB / 18.48 MB, free: 5.379 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.712/1.712, allocations: 205.4 MB / 224.6 MB, free: 13.08 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.0005311/0.0005312, allocations: 12 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1106, allocations: 47.58 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003666/0.1143, allocations: 3 MB / 332 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.1158, allocations: 0.874 MB / 332.9 MB, free: 180 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.116, allocations: 7.938 kB / 332.9 MB, free: 172 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.1163, allocations: 71.45 kB / 332.9 MB, free: 100 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003937/0.1167, allocations: 162.8 kB / 333.1 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.1169, allocations: 91.83 kB / 333.2 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005876/0.1175, allocations: 0.5561 MB / 333.7 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/0.1178, allocations: 170.2 kB / 333.9 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.118, allocations: 207.3 kB / 334.1 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.1184, allocations: 246.8 kB / 334.3 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.309e-05/0.1185, allocations: 32 kB / 334.4 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.106e-05/0.1186, allocations: 36 kB / 334.4 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.962e-05/0.1187, allocations: 99.58 kB / 334.5 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.1188, allocations: 125.5 kB / 334.6 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004266/0.1193, allocations: 482.7 kB / 335.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1193, allocations: 0 / 335.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1193, allocations: 0 / 335.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1193, allocations: 0 / 335.1 MB, free: 13.91 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001204/0.1205, allocations: 0.7571 MB / 335.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.1206, allocations: 8.031 kB / 335.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.1207, allocations: 59.34 kB / 335.9 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.1212, allocations: 381.6 kB / 336.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.1214, allocations: 62.34 kB / 336.4 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.1214, allocations: 39.94 kB / 336.4 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007012/0.1222, allocations: 449 kB / 336.8 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1222, allocations: 0 / 336.8 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.1222, allocations: 12 kB / 336.9 MB, free: 12.01 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.1222, allocations: 11.98 kB / 336.9 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005465/0.1228, allocations: 286.4 kB / 337.1 MB, free: 11.71 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.001998/0.1248, allocations: 1.302 MB / 338.4 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.1258, allocations: 432.5 kB / 338.9 MB, free: 9.871 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.1261, allocations: 152.8 kB / 339 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.1262, allocations: 7.984 kB / 339 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.1262, allocations: 42.56 kB / 339.1 MB, free: 9.66 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.1262, allocations: 96 / 339.1 MB, free: 9.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001107/0.1273, allocations: 0.6218 MB / 339.7 MB, free: 8.988 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002301/0.1276, allocations: 449 kB / 340.1 MB, free: 8.445 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005229/0.1281, allocations: 446 kB / 340.6 MB, free: 8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.1281, allocations: 41.64 kB / 340.6 MB, free: 7.953 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.1283, allocations: 228.5 kB / 340.8 MB, free: 7.727 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.641e-05/0.1284, allocations: 110.3 kB / 340.9 MB, free: 7.617 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.1285, allocations: 8 kB / 340.9 MB, free: 7.609 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1286, allocations: 354.8 kB / 341.3 MB, free: 7.254 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.1288, allocations: 108.6 kB / 341.4 MB, free: 7.145 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.1292, allocations: 260 kB / 341.6 MB, free: 6.84 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.1295, allocations: 155.3 kB / 341.8 MB, free: 6.684 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1295, allocations: 3.938 kB / 341.8 MB, free: 6.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007083/0.1302, allocations: 425 kB / 342.2 MB, free: 6.246 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.783e-05/0.1303, allocations: 33.7 kB / 342.3 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1303, allocations: 0 / 342.3 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/0.1305, allocations: 53.58 kB / 342.3 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.1308, allocations: 71.94 kB / 342.4 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.1333, allocations: 2.748 MB / 345.1 MB, free: 3.059 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.1336, allocations: 51.72 kB / 345.2 MB, free: 3.008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.1337, allocations: 12 kB / 345.2 MB, free: 2.996 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 (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.0002165/0.1339, allocations: 165.8 kB / 345.3 MB, free: 2.824 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.134, allocations: 47.44 kB / 345.4 MB, free: 2.777 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.856e-05/0.1341, allocations: 52.66 kB / 345.4 MB, free: 2.727 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1341, allocations: 4 kB / 345.4 MB, free: 2.723 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1341, allocations: 0 / 345.4 MB, free: 2.723 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006791/0.1348, allocations: 0.6661 MB / 346.1 MB, free: 1.953 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.1361, allocations: 0.9071 MB / 347 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1361, allocations: 0 / 347 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.1364, allocations: 71.95 kB / 347.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1364, allocations: 0 / 347.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.1365, allocations: 8 kB / 347.1 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1365, allocations: 3.984 kB / 347.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1365, allocations: 3.938 kB / 347.1 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008002/0.1373, allocations: 0.519 MB / 347.6 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.1375, allocations: 168.4 kB / 347.8 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.1375, allocations: 8 kB / 347.8 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.1378, allocations: 27.95 kB / 347.8 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.1379, allocations: 23.91 kB / 347.8 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.1379, allocations: 12 kB / 347.9 MB, free: 112 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003486/0.1382, allocations: 315.1 kB / 348.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1382, allocations: 0 / 348.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004274/0.1387, allocations: 131.8 kB / 348.3 MB, free: 15.68 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.0001326/0.1388, allocations: 111.1 kB / 348.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008676/0.1397, allocations: 0.5634 MB / 349 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1397, allocations: 4 kB / 349 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.1399, allocations: 136.4 kB / 349.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006774/0.1406, allocations: 121.8 kB / 349.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.1423, allocations: 1.088 MB / 350.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.1427, allocations: 0.8159 MB / 351.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.1428, allocations: 51.44 kB / 351.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1429, allocations: 0 / 351.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of Templates: time 0.01178/0.1546, allocations: 8.173 MB / 359.4 MB, free: 4.512 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCoolingCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCoolingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCoolingCalcHelperMain.o] Error 1