Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.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.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|suddenExpansion1.dp|suddenExpansion1.m_flow|suddenExpansion1.port_b_T|suddenExpansion2.dp|suddenExpansion2.m_flow|suddenExpansion2.port_b_T",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") translateModel(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|suddenExpansion1.dp|suddenExpansion1.m_flow|suddenExpansion1.port_b_T|suddenExpansion2.dp|suddenExpansion2.m_flow|suddenExpansion2.port_b_T",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001525/0.001525, allocations: 194 kB / 18.72 MB, free: 4.762 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.885/1.885, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.00135/0.00135, allocations: 55.92 kB / 280.6 MB, free: 3.617 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1436, allocations: 46.64 MB / 327.3 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings): time 0.3875/0.5312, allocations: 64.46 MB / 391.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03684/0.5681, allocations: 23.63 MB / 415.3 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.571, allocations: 41.91 kB / 415.4 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002791/0.5739, allocations: 0.6297 MB / 416 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02313/0.597, allocations: 4.752 MB / 420.8 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0113/0.6084, allocations: 3.02 MB / 423.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01903/0.6274, allocations: 9.625 MB / 433.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.6291, allocations: 0.6027 MB / 434 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.6318, allocations: 0.9531 MB / 435 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.633, allocations: 0.8401 MB / 435.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.6331, allocations: 52 kB / 435.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01967/0.6528, allocations: 7.535 MB / 443.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005129/0.6534, allocations: 250.9 kB / 443.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.6548, allocations: 0.6802 MB / 444.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009333/0.6642, allocations: 3.992 MB / 448.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.6642, allocations: 0 / 448.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6642, allocations: 0 / 448.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.6642, allocations: 0 / 448.3 MB, free: 14.7 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.007303/0.6715, allocations: 2.467 MB / 450.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.6716, allocations: 8.031 kB / 450.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004645/0.6763, allocations: 0.6643 MB / 451.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.6781, allocations: 0.9889 MB / 452.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.936e-05/0.6782, allocations: 75.33 kB / 452.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.6783, allocations: 100 kB / 452.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003512/0.6818, allocations: 1.675 MB / 454.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.6819, allocations: 11.88 kB / 454.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.682, allocations: 44 kB / 454.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.682, allocations: 28 kB / 454.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/0.6852, allocations: 1.463 MB / 455.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009996/0.6952, allocations: 8.393 MB / 464.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003027/0.6983, allocations: 1.693 MB / 465.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005967/0.6989, allocations: 403.2 kB / 466.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1213/0.8202, allocations: 63.4 MB / 0.5173 GB, free: 4.762 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.39e-05/0.8203, allocations: 43.12 kB / 0.5173 GB, free: 4.711 MB / 430.1 MB Notification: Performance of pre-optimization done (n=77): time 4.559e-06/0.8203, allocations: 3.938 kB / 0.5173 GB, free: 4.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=77): time 0.00602/0.8263, allocations: 1.99 MB / 0.5193 GB, free: 2.684 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.974e-05/0.8265, allocations: 196.4 kB / 0.5195 GB, free: 2.449 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.8277, allocations: 0.9644 MB / 0.5204 GB, free: 1.469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.481e-05/0.8278, allocations: 41.7 kB / 0.5205 GB, free: 1.422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004708/0.8283, allocations: 0.5688 MB / 0.521 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/0.8285, allocations: 280.1 kB / 0.5213 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003041/0.8288, allocations: 234.7 kB / 0.5215 GB, free: 340 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.829, allocations: 349.9 kB / 0.5218 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.8295, allocations: 298.5 kB / 0.5221 GB, free: 15.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008986/0.8304, allocations: 0.7453 MB / 0.5228 GB, free: 14.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.8319, allocations: 1.098 MB / 0.5239 GB, free: 13.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.8319, allocations: 4 kB / 0.5239 GB, free: 13.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002114/0.834, allocations: 1.249 MB / 0.5251 GB, free: 12.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.8341, allocations: 15.94 kB / 0.5252 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.8341, allocations: 12 kB / 0.5252 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003194/0.8373, allocations: 0.5192 MB / 0.5257 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.8383, allocations: 287.5 kB / 0.526 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.8395, allocations: 1.368 MB / 0.5273 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.8405, allocations: 162.7 kB / 0.5274 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.366e-05/0.8406, allocations: 63.98 kB / 0.5275 GB, free: 9.723 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 20 (rightAdaptor.state_b.phase,rightAdaptor.state_a.phase,rightAdaptor.state_a_nondes.phase,rightAdaptor.state_b_des.phase,leftAdaptor.state_b.phase,leftAdaptor.state_a.phase,leftAdaptor.state_a_nondes.phase,leftAdaptor.state_b_des.phase,suddenExpansion2.state_b.phase,suddenExpansion2.state_a.phase,suddenExpansion2.state_a_nondes.phase,suddenExpansion2.state_b_des.phase,rightBoundary2.medium.phase,leftBoundary2.medium.phase,suddenExpansion1.state_b.phase,suddenExpansion1.state_a.phase,suddenExpansion1.state_a_nondes.phase,suddenExpansion1.state_b_des.phase,rightBoundary1.medium.phase,leftBoundary1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(3,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005458/0.8412, allocations: 304 kB / 0.5278 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.8414, allocations: 118.6 kB / 0.5279 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005081/0.8465, allocations: 4.495 MB / 0.5323 GB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.424e-05/0.8466, allocations: 47.88 kB / 0.5323 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.8466, allocations: 0 / 0.5323 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.8466, allocations: 7.984 kB / 0.5323 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2733/1.12, allocations: 4.946 MB / 0.5372 GB, free: 175.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/1.12, allocations: 0 / 0.5372 GB, free: 175.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/1.121, allocations: 167.5 kB / 0.5373 GB, free: 175.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00511/1.126, allocations: 1.594 MB / 0.5389 GB, free: 175.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/1.126, allocations: 23.47 kB / 0.5389 GB, free: 175.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/1.128, allocations: 1.754 MB / 0.5406 GB, free: 174 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.128, allocations: 4.531 kB / 0.5406 GB, free: 174 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003587/1.132, allocations: 2.021 MB / 0.5426 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005281/1.132, allocations: 267.9 kB / 0.5429 GB, free: 173.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/1.132, allocations: 46.22 kB / 0.5429 GB, free: 173.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006522/1.133, allocations: 62.42 kB / 0.543 GB, free: 173.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.133, allocations: 57.48 kB / 0.543 GB, free: 173.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.069e-05/1.133, allocations: 35.8 kB / 0.5431 GB, free: 173.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001553/1.135, allocations: 0.8303 MB / 0.5439 GB, free: 172.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.41e-07/1.135, allocations: 1.875 kB / 0.5439 GB, free: 172.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005027/1.14, allocations: 1.278 MB / 0.5451 GB, free: 172.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(3,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004896/1.145, allocations: 1.251 MB / 0.5463 GB, free: 172.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002935/1.148, allocations: 1.264 MB / 0.5476 GB, free: 172.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.148, allocations: 2.25 kB / 0.5476 GB, free: 172.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00185/1.15, allocations: 0.9102 MB / 0.5485 GB, free: 171.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003831/1.153, allocations: 0.6877 MB / 0.5491 GB, free: 171.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00489/1.158, allocations: 3.812 MB / 0.5529 GB, free: 169.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008244/1.159, allocations: 1.315 MB / 0.5541 GB, free: 168.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/1.16, allocations: 121.7 kB / 0.5543 GB, free: 168.7 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/1.16, allocations: 0 / 0.5543 GB, free: 168.7 MB / 446.1 MB Notification: Performance of Templates: time 0.05727/1.217, allocations: 50.95 MB / 0.604 GB, free: 121.8 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.makefile make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.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.Fluid.Examples.Explanatory.MomentumBalanceFittingsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittingsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittingsCalcHelperMain.o] Error 1