Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo) 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(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008282/0.0008281, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009032/0.0009032, allocations: 178.1 kB / 16.58 MB, free: 6.879 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.55/1.55, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002875/0.002875, allocations: 0.5506 MB / 292.3 MB, free: 1.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.000342, allocations: 8 kB / 353.3 MB, free: 2.855 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1429, allocations: 50.58 MB / 403.9 MB, free: 244 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.2747/0.4176, allocations: 292.8 kB / 404.2 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002657/0.4179, allocations: 45.03 kB / 404.2 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.938e-05/0.4179, allocations: 0 / 404.2 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.418, allocations: 1.688 kB / 404.2 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.75e-05/0.4181, allocations: 6.969 kB / 404.2 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.4182, allocations: 20.56 kB / 404.2 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.529e-05/0.4183, allocations: 44.38 kB / 404.3 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.896e-05/0.4183, allocations: 2.75 kB / 404.3 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.999e-05/0.4184, allocations: 24.19 kB / 404.3 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.334e-05/0.4185, allocations: 29.23 kB / 404.3 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.4185, allocations: 3.344 kB / 404.3 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.983e-05/0.4185, allocations: 3.812 kB / 404.3 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.4186, allocations: 16.69 kB / 404.4 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.4186, allocations: 36.14 kB / 404.4 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.71e-05/0.4187, allocations: 20.25 kB / 404.4 MB, free: 9.738 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4187, allocations: 0 / 404.4 MB, free: 9.738 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.4187, allocations: 2.047 kB / 404.4 MB, free: 9.738 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.4187, allocations: 0 / 404.4 MB, free: 9.738 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004439/0.4192, allocations: 365.9 kB / 404.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.4192, allocations: 9.75 kB / 404.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.4193, allocations: 7.5 kB / 404.8 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.4194, allocations: 172 kB / 405 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.4194, allocations: 6.562 kB / 405 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.4194, allocations: 8.219 kB / 405 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.4196, allocations: 68.09 kB / 405 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.4196, allocations: 0.6562 kB / 405 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.4196, allocations: 4.75 kB / 405 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.4196, allocations: 5.969 kB / 405 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.785e-05/0.4197, allocations: 37.03 kB / 405.1 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.4202, allocations: 310 kB / 405.4 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.4205, allocations: 103.5 kB / 405.5 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.504e-05/0.4206, allocations: 35.77 kB / 405.5 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.4206, allocations: 0.9688 kB / 405.5 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.4206, allocations: 36.52 kB / 405.6 MB, free: 8.781 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.4206, allocations: 1.188 kB / 405.6 MB, free: 8.781 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.00307/0.4237, allocations: 0.866 MB / 406.4 MB, free: 8.477 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.4238, allocations: 54.38 kB / 406.5 MB, free: 8.414 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.111e-05/0.4238, allocations: 115.9 kB / 406.6 MB, free: 8.309 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.4239, allocations: 28.95 kB / 406.6 MB, free: 8.277 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.4239, allocations: 91.44 kB / 406.7 MB, free: 8.191 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.4239, allocations: 54.47 kB / 406.8 MB, free: 8.156 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.424, allocations: 4.562 kB / 406.8 MB, free: 8.156 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.089e-05/0.424, allocations: 322.8 kB / 407.1 MB, free: 7.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.182e-05/0.4241, allocations: 41.73 kB / 407.1 MB, free: 7.84 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.193e-05/0.4242, allocations: 64.58 kB / 407.2 MB, free: 7.82 MB / 286.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002354/0.4266, allocations: 398 kB / 407.6 MB, free: 7.801 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4266, allocations: 4.938 kB / 407.6 MB, free: 7.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001416/0.428, allocations: 332.2 kB / 407.9 MB, free: 7.734 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.428, allocations: 9.953 kB / 407.9 MB, free: 7.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.428, allocations: 0 / 407.9 MB, free: 7.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001829/0.4299, allocations: 295.9 kB / 408.2 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.43, allocations: 20.53 kB / 408.2 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003332/0.4333, allocations: 1.922 MB / 410.1 MB, free: 6.324 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.065e-05/0.4334, allocations: 2 kB / 410.1 MB, free: 6.324 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.4334, allocations: 7.922 kB / 410.2 MB, free: 6.324 MB / 286.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.M2 = 0.0. 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.000171/0.4336, allocations: 120.5 kB / 410.3 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.4337, allocations: 8.734 kB / 410.3 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.4337, allocations: 19.48 kB / 410.3 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4337, allocations: 3.656 kB / 410.3 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.4337, allocations: 4.594 kB / 410.3 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.4338, allocations: 10.19 kB / 410.3 MB, free: 6.184 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.434, allocations: 200.3 kB / 410.5 MB, free: 5.992 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.434, allocations: 0 / 410.5 MB, free: 5.992 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.394e-05/0.434, allocations: 11.39 kB / 410.5 MB, free: 5.992 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/0.436, allocations: 297.6 kB / 410.8 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.436, allocations: 8.672 kB / 410.8 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.4381, allocations: 1.754 MB / 412.6 MB, free: 4.547 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.716e-06/0.4381, allocations: 2.234 kB / 412.6 MB, free: 4.547 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.4392, allocations: 417.8 kB / 413 MB, free: 4.32 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.4392, allocations: 84 kB / 413.1 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.4393, allocations: 1.094 kB / 413.1 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4394, allocations: 5.844 kB / 413.1 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.4394, allocations: 15.42 kB / 413.1 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.4394, allocations: 13.05 kB / 413.1 MB, free: 4.211 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.226e-05/0.4395, allocations: 83.36 kB / 413.2 MB, free: 4.137 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4395, allocations: 0 / 413.2 MB, free: 4.137 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004156/0.4399, allocations: 37.14 kB / 413.2 MB, free: 4.129 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,T1,T2) * 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): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000128/0.4401, allocations: 96.55 kB / 413.3 MB, free: 4.035 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008409/0.4409, allocations: 319.2 kB / 413.6 MB, free: 3.859 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4409, allocations: 3.938 kB / 413.6 MB, free: 3.855 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003335/0.4413, allocations: 223.6 kB / 413.8 MB, free: 3.703 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.4415, allocations: 10.78 kB / 413.9 MB, free: 3.695 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.442, allocations: 289.6 kB / 414.1 MB, free: 3.461 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.4422, allocations: 0.7046 MB / 414.8 MB, free: 2.758 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.4422, allocations: 11.5 kB / 414.9 MB, free: 2.75 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4422, allocations: 0 / 414.9 MB, free: 2.75 MB / 286.1 MB Notification: Performance of Templates: time 0.005041/0.4473, allocations: 1.626 MB / 416.5 MB, free: 2.688 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.makefile make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.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 OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergyCalcHelperMain.o OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergyCalcHelperMain.o] Error 1