Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009934/0.0009934, allocations: 93.23 kB / 16.95 MB, free: 5.582 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.00141/0.00141, allocations: 190.8 kB / 17.85 MB, free: 5.258 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.556/1.556, allocations: 223.2 MB / 241.9 MB, free: 344 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002617/0.0002617, allocations: 4 kB / 301.4 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1213, allocations: 50.42 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004832/0.1262, allocations: 4.395 MB / 356.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.1285, allocations: 1.177 MB / 357.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002591/0.1287, allocations: 8 kB / 357.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.1291, allocations: 111.1 kB / 357.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005675/0.1296, allocations: 277.8 kB / 357.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.13, allocations: 167.7 kB / 358 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.1311, allocations: 1.042 MB / 359 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004095/0.1315, allocations: 274.8 kB / 359.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004443/0.1319, allocations: 398.6 kB / 359.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005113/0.1324, allocations: 454.2 kB / 360.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.1326, allocations: 68 kB / 360.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.1327, allocations: 64 kB / 360.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.1329, allocations: 187.3 kB / 360.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.1331, allocations: 209.1 kB / 360.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007983/0.1339, allocations: 0.8686 MB / 361.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.1339, allocations: 7.984 kB / 361.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.1339, allocations: 0 / 361.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.134, allocations: 0 / 361.5 MB, free: 10.3 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002197/0.1362, allocations: 1.208 MB / 362.7 MB, free: 9.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.1362, allocations: 12.03 kB / 362.7 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.1364, allocations: 102.9 kB / 362.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009405/0.1374, allocations: 0.5591 MB / 363.4 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/0.1377, allocations: 178.4 kB / 363.6 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.1378, allocations: 59.89 kB / 363.6 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.1393, allocations: 0.8783 MB / 364.5 MB, free: 7.078 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.1393, allocations: 0 / 364.5 MB, free: 7.078 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.594e-05/0.1394, allocations: 35.89 kB / 364.5 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.1394, allocations: 16 kB / 364.6 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.1408, allocations: 0.6532 MB / 365.2 MB, free: 6.371 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.00333/0.1442, allocations: 2.069 MB / 367.3 MB, free: 4.195 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.1456, allocations: 0.8947 MB / 368.2 MB, free: 3.238 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008215/0.1465, allocations: 418.6 kB / 368.6 MB, free: 2.828 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.608e-05/0.1465, allocations: 20.62 kB / 368.6 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.1466, allocations: 55.11 kB / 368.7 MB, free: 2.746 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 3.687e-06/0.1466, allocations: 11.92 kB / 368.7 MB, free: 2.734 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005092/0.1517, allocations: 1.98 MB / 370.7 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2655/0.4173, allocations: 0.8234 MB / 371.5 MB, free: 24.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.4187, allocations: 0.6227 MB / 372.1 MB, free: 24.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003265/0.419, allocations: 45.36 kB / 372.1 MB, free: 24.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.4193, allocations: 337.3 kB / 372.5 MB, free: 24.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.4196, allocations: 252.3 kB / 372.7 MB, free: 24.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.4196, allocations: 14.19 kB / 372.7 MB, free: 24.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.4198, allocations: 388.4 kB / 373.1 MB, free: 23.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009282/0.4208, allocations: 301.7 kB / 373.4 MB, free: 23.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.4219, allocations: 0.5768 MB / 374 MB, free: 23.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009735/0.4229, allocations: 435.8 kB / 374.4 MB, free: 23.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.4229, allocations: 1.219 kB / 374.4 MB, free: 23.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00308/0.426, allocations: 1.191 MB / 375.6 MB, free: 23.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.596e-05/0.4261, allocations: 86 kB / 375.7 MB, free: 23.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.4261, allocations: 0 / 375.7 MB, free: 23.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007788/0.4269, allocations: 253.1 kB / 375.9 MB, free: 22.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000663/0.4276, allocations: 147.3 kB / 376.1 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007073/0.4347, allocations: 6.492 MB / 382.6 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.4358, allocations: 120.8 kB / 382.7 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.542e-05/0.4358, allocations: 24.84 kB / 382.7 MB, free: 17.11 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003865/0.4362, allocations: 226.6 kB / 382.9 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.4364, allocations: 84.97 kB / 383 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.4366, allocations: 89.48 kB / 383.1 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-06/0.4366, allocations: 7.531 kB / 383.1 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4366, allocations: 1.219 kB / 383.1 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002567/0.4392, allocations: 1.337 MB / 384.5 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004056/0.4432, allocations: 2.027 MB / 386.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.4433, allocations: 0.875 kB / 386.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007179/0.444, allocations: 156.5 kB / 386.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005756/0.4446, allocations: 220.8 kB / 386.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.4446, allocations: 14.06 kB / 386.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005557/0.4502, allocations: 5.052 MB / 391.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4502, allocations: 0.7969 kB / 391.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.4537, allocations: 1.519 MB / 393.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/0.4541, allocations: 244 kB / 393.7 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.4542, allocations: 18.97 kB / 393.7 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006242/0.4548, allocations: 71 kB / 393.8 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.455, allocations: 63.78 kB / 393.8 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/0.4551, allocations: 18.3 kB / 393.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006099/0.4557, allocations: 451.9 kB / 394.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4557, allocations: 3.938 kB / 394.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001032/0.4568, allocations: 280.7 kB / 394.6 MB, free: 9.52 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001821/0.4569, allocations: 127.5 kB / 394.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.4592, allocations: 1.408 MB / 396.1 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.4592, allocations: 8.062 kB / 396.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.4606, allocations: 0.8038 MB / 396.9 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.4617, allocations: 232 kB / 397.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.4647, allocations: 1.943 MB / 399.1 MB, free: 6.633 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.4652, allocations: 0.9393 MB / 400 MB, free: 5.824 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.4654, allocations: 74.77 kB / 400.1 MB, free: 5.805 MB / 302.1 MB Notification: Performance of SimCode: time 1.493e-06/0.4654, allocations: 0 / 400.1 MB, free: 5.805 MB / 302.1 MB Notification: Performance of Templates: time 0.02896/0.4944, allocations: 22.45 MB / 422.5 MB, free: 0.7305 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMassCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMassCalcHelperMain.o] Error 1