Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 97.33 kB / 16.52 MB, free: 6.281 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.001426/0.001426, allocations: 194.6 kB / 17.43 MB, free: 5.902 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.964/1.964, allocations: 205.1 MB / 223.3 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2712/0.2712, allocations: 43.52 MB / 314.1 MB, free: 0.7461 MB / 254.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.00185/0.00185, allocations: 66.84 kB / 382.7 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1498, allocations: 57.79 MB / 440.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.6384/0.7883, allocations: 185.9 MB / 0.6117 GB, free: 5.895 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01301/0.8013, allocations: 7.204 MB / 0.6188 GB, free: 428 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.8029, allocations: 22 kB / 0.6188 GB, free: 416 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.8046, allocations: 301.1 kB / 0.6191 GB, free: 164 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.8151, allocations: 2.052 MB / 0.6211 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004061/0.8192, allocations: 0.862 MB / 0.6219 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004215/0.8234, allocations: 2.18 MB / 0.624 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.8249, allocations: 389.1 kB / 0.6244 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/0.828, allocations: 0.7746 MB / 0.6252 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.8295, allocations: 0.5114 MB / 0.6257 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002882/0.8298, allocations: 28 kB / 0.6257 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00462/0.8345, allocations: 1.373 MB / 0.627 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004349/0.8349, allocations: 155.5 kB / 0.6272 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.8361, allocations: 354.3 kB / 0.6275 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002965/0.8391, allocations: 1.236 MB / 0.6287 GB, free: 8.625 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.016e-06/0.8391, allocations: 0 / 0.6287 GB, free: 8.625 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.8391, allocations: 0 / 0.6287 GB, free: 8.625 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.023e-05/0.8391, allocations: 0 / 0.6287 GB, free: 8.625 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003646/0.8428, allocations: 1.138 MB / 0.6298 GB, free: 7.438 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.8429, allocations: 8.031 kB / 0.6298 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.8444, allocations: 159 kB / 0.63 GB, free: 7.273 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.8456, allocations: 0.4886 MB / 0.6305 GB, free: 6.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.8457, allocations: 29 kB / 0.6305 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.8458, allocations: 44 kB / 0.6305 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.8473, allocations: 0.6478 MB / 0.6312 GB, free: 5.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.8473, allocations: 7.938 kB / 0.6312 GB, free: 5.977 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.705e-05/0.8474, allocations: 31.88 kB / 0.6312 GB, free: 5.945 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.8474, allocations: 8 kB / 0.6312 GB, free: 5.938 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.8485, allocations: 0.4917 MB / 0.6317 GB, free: 5.445 MB / 446.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.004295/0.8528, allocations: 2.672 MB / 0.6343 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.8539, allocations: 319.7 kB / 0.6346 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.8543, allocations: 156.7 kB / 0.6348 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002144/0.8564, allocations: 1.3 MB / 0.636 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.987e-05/0.8565, allocations: 38.56 kB / 0.6361 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 5.891e-06/0.8566, allocations: 0 / 0.6361 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.002286/0.8588, allocations: 0.7054 MB / 0.6368 GB, free: 15.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002073/0.8591, allocations: 158.2 kB / 0.6369 GB, free: 15.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008245/0.8599, allocations: 0.5223 MB / 0.6374 GB, free: 15.08 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.569e-05/0.86, allocations: 33.64 kB / 0.6374 GB, free: 15.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.8603, allocations: 303.6 kB / 0.6377 GB, free: 14.74 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.8605, allocations: 130.1 kB / 0.6379 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.8607, allocations: 114.1 kB / 0.638 GB, free: 14.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.8609, allocations: 362.8 kB / 0.6383 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.8613, allocations: 149 kB / 0.6385 GB, free: 13.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.8618, allocations: 311 kB / 0.6388 GB, free: 13.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007457/0.8626, allocations: 482.5 kB / 0.6392 GB, free: 13.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.8626, allocations: 4 kB / 0.6392 GB, free: 13.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001139/0.8637, allocations: 0.5597 MB / 0.6398 GB, free: 12.49 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.8638, allocations: 11.94 kB / 0.6398 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.8638, allocations: 4.625 kB / 0.6398 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.8654, allocations: 248.5 kB / 0.64 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.8658, allocations: 115.8 kB / 0.6401 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005555/0.8664, allocations: 0.5836 MB / 0.6407 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.867, allocations: 63.36 kB / 0.6408 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.8671, allocations: 63.98 kB / 0.6408 GB, free: 11.38 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003682/0.8675, allocations: 198.6 kB / 0.641 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.8677, allocations: 63.25 kB / 0.6411 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.8694, allocations: 0.7359 MB / 0.6418 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.8694, allocations: 0 / 0.6418 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.8694, allocations: 4 kB / 0.6418 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.8694, allocations: 0 / 0.6418 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.8712, allocations: 1.015 MB / 0.6428 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.8712, allocations: 4 kB / 0.6428 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.8715, allocations: 55.91 kB / 0.6428 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003415/0.8749, allocations: 448.3 kB / 0.6433 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.8749, allocations: 15.98 kB / 0.6433 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000537/0.8755, allocations: 0.5952 MB / 0.6439 GB, free: 8.113 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.8755, allocations: 0 / 0.6439 GB, free: 8.113 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009083/0.8764, allocations: 0.5006 MB / 0.6444 GB, free: 7.574 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.8767, allocations: 140.2 kB / 0.6445 GB, free: 7.418 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.8769, allocations: 15.91 kB / 0.6445 GB, free: 7.402 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005413/0.8774, allocations: 27.92 kB / 0.6445 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.8775, allocations: 27.91 kB / 0.6446 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/0.8776, allocations: 23.98 kB / 0.6446 GB, free: 7.324 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006893/0.8783, allocations: 434.8 kB / 0.645 GB, free: 6.902 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8783, allocations: 0 / 0.645 GB, free: 6.902 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001368/0.8797, allocations: 335.8 kB / 0.6453 GB, free: 6.574 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001643/0.8813, allocations: 461.5 kB / 0.6458 GB, free: 6.117 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.8824, allocations: 368.4 kB / 0.6461 GB, free: 5.758 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/0.8824, allocations: 1.25 kB / 0.6461 GB, free: 5.758 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004023/0.8828, allocations: 160.1 kB / 0.6463 GB, free: 5.602 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.8852, allocations: 396.4 kB / 0.6466 GB, free: 5.215 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.8875, allocations: 1.146 MB / 0.6478 GB, free: 4.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000626/0.8881, allocations: 0.8598 MB / 0.6486 GB, free: 3.133 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004256/0.8886, allocations: 107.4 kB / 0.6487 GB, free: 3.027 MB / 462.1 MB Notification: Performance of SimCode: time 2.054e-06/0.8886, allocations: 0 / 0.6487 GB, free: 3.027 MB / 462.1 MB Notification: Performance of Templates: time 0.03167/0.9203, allocations: 15.95 MB / 0.6643 GB, free: 3.086 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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 OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.OrificeCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.OrificeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.OrificeCalcHelperMain.o] Error 1