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.001054/0.001054, allocations: 91.08 kB / 17.96 MB, free: 5.629 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.001247/0.001247, allocations: 180.5 kB / 18.86 MB, free: 4.773 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.997/1.997, allocations: 205.4 MB / 225 MB, free: 13.07 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.0004802/0.0004804, allocations: 16 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.11, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004279/0.1143, allocations: 3.15 MB / 332.8 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.1165, allocations: 0.9203 MB / 333.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004848/0.1171, allocations: 4 kB / 333.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.1174, allocations: 87.44 kB / 333.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005139/0.118, allocations: 162.7 kB / 333.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.1183, allocations: 103.9 kB / 334 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000703/0.119, allocations: 0.6107 MB / 334.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.1193, allocations: 170.9 kB / 334.8 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.1195, allocations: 215.1 kB / 335 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.1199, allocations: 258.8 kB / 335.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.98e-05/0.1199, allocations: 36 kB / 335.3 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.419e-05/0.12, allocations: 32 kB / 335.3 MB, free: 14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.994e-05/0.1201, allocations: 95.59 kB / 335.4 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002755/0.1204, allocations: 300.3 kB / 335.7 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.1209, allocations: 474.7 kB / 336.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1209, allocations: 0 / 336.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1209, allocations: 0 / 336.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.1209, allocations: 0 / 336.2 MB, free: 13.14 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.001346/0.1223, allocations: 0.7572 MB / 336.9 MB, free: 12.32 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.1223, allocations: 12.03 kB / 337 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.1225, allocations: 68.27 kB / 337 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006094/0.1231, allocations: 386.6 kB / 337.4 MB, free: 11.83 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.1232, allocations: 62.91 kB / 337.5 MB, free: 11.76 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.1233, allocations: 36.38 kB / 337.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007845/0.1241, allocations: 457.1 kB / 337.9 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.1241, allocations: 4 kB / 337.9 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.1242, allocations: 23.94 kB / 338 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1242, allocations: 8 kB / 338 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005954/0.1248, allocations: 286.5 kB / 338.3 MB, free: 10.91 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.002072/0.1269, allocations: 1.302 MB / 339.6 MB, free: 9.516 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.128, allocations: 448.5 kB / 340 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.1283, allocations: 140.8 kB / 340.1 MB, free: 8.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.1283, allocations: 11.94 kB / 340.1 MB, free: 8.898 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.1284, allocations: 38.56 kB / 340.2 MB, free: 8.852 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.714e-06/0.1284, allocations: 4 kB / 340.2 MB, free: 8.848 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001187/0.1296, allocations: 0.6181 MB / 340.8 MB, free: 8.18 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002716/0.1298, allocations: 452.9 kB / 341.2 MB, free: 7.633 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000531/0.1304, allocations: 453.9 kB / 341.7 MB, free: 7.18 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.1304, allocations: 33.7 kB / 341.7 MB, free: 7.141 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.1306, allocations: 228.4 kB / 341.9 MB, free: 6.914 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.503e-05/0.1307, allocations: 114.4 kB / 342.1 MB, free: 6.801 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.1308, allocations: 33.7 kB / 342.1 MB, free: 6.762 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.131, allocations: 358.8 kB / 342.4 MB, free: 6.402 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.1312, allocations: 108.6 kB / 342.5 MB, free: 6.293 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/0.1316, allocations: 260 kB / 342.8 MB, free: 5.988 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004989/0.1321, allocations: 284.9 kB / 343.1 MB, free: 5.699 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1321, allocations: 0 / 343.1 MB, free: 5.699 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007146/0.1328, allocations: 428.9 kB / 343.5 MB, free: 5.262 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.1329, allocations: 37.7 kB / 343.5 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1329, allocations: 0 / 343.5 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/0.1331, allocations: 49.73 kB / 343.6 MB, free: 5.164 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.1334, allocations: 71.89 kB / 343.7 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/0.1359, allocations: 2.748 MB / 346.4 MB, free: 2.078 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/0.1363, allocations: 43.72 kB / 346.4 MB, free: 2.035 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.1363, allocations: 12 kB / 346.5 MB, free: 2.023 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 (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.0002033/0.1365, allocations: 169.7 kB / 346.6 MB, free: 1.848 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-05/0.1366, allocations: 47.44 kB / 346.7 MB, free: 1.801 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.656e-05/0.1367, allocations: 56.69 kB / 346.7 MB, free: 1.746 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1368, allocations: 4 kB / 346.7 MB, free: 1.742 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1368, allocations: 0 / 346.7 MB, free: 1.742 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007295/0.1375, allocations: 0.6571 MB / 347.4 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.1389, allocations: 0.912 MB / 348.3 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1389, allocations: 4 kB / 348.3 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.1392, allocations: 75.89 kB / 348.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1392, allocations: 0 / 348.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.1393, allocations: 12 kB / 348.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1393, allocations: 3.938 kB / 348.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1393, allocations: 0 / 348.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008376/0.1401, allocations: 0.5347 MB / 348.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.1403, allocations: 160.5 kB / 349.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/0.1404, allocations: 12 kB / 349.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.1407, allocations: 19.98 kB / 349.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.1407, allocations: 15.92 kB / 349.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.1408, allocations: 11.98 kB / 349.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003648/0.1411, allocations: 319.1 kB / 349.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1411, allocations: 64 / 349.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004251/0.1416, allocations: 135.8 kB / 349.6 MB, free: 14.69 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 (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.0001445/0.1417, allocations: 107.2 kB / 349.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009074/0.1426, allocations: 0.5668 MB / 350.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1427, allocations: 0 / 350.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002498/0.1429, allocations: 135.8 kB / 350.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006845/0.1436, allocations: 122.1 kB / 350.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.1453, allocations: 1.121 MB / 351.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.1458, allocations: 0.8198 MB / 352.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.146, allocations: 47.42 kB / 352.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.146, allocations: 0 / 352.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of Templates: time 0.01196/0.158, allocations: 8.178 MB / 360.7 MB, free: 3.484 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++ -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.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