Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8999/0.8999, allocations: 150.9 MB / 166.6 MB, free: 14.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 11.98 kB / 204.7 MB, free: 10.14 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2256, allocations: 31.33 MB / 236 MB, free: 5.445 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve): time 1.898/2.124, allocations: 293 MB / 0.5165 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2292/2.353, allocations: 188.8 MB / 0.7009 GB, free: 132 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004005/2.354, allocations: 7.938 kB / 0.7009 GB, free: 124 kB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/DynamicCheckValve.mo:56:3-57:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/DynamicCheckValve.mo:58:3-59:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000268/2.354, allocations: 44.95 kB / 0.701 GB, free: 80 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.4609/2.815, allocations: 121.1 kB / 0.7011 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03998/2.855, allocations: 8.772 MB / 0.7097 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00104/2.856, allocations: 471 kB / 0.7101 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004357/2.856, allocations: 238.2 kB / 0.7103 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/2.857, allocations: 183 kB / 0.7105 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003267/2.857, allocations: 215.5 kB / 0.7107 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/2.857, allocations: 29.91 kB / 0.7108 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05081/2.908, allocations: 19.91 MB / 0.7302 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004019/2.908, allocations: 84 kB / 0.7303 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005825/2.909, allocations: 214.5 kB / 0.7305 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02423/2.933, allocations: 6.81 MB / 0.7371 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.569e-05/2.933, allocations: 0.8438 kB / 0.7371 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.467e-06/2.933, allocations: 0 / 0.7371 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.444e-05/2.933, allocations: 3.844 kB / 0.7371 GB, free: 2.156 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.009009/2.942, allocations: 1.849 MB / 0.7389 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/2.942, allocations: 7.656 kB / 0.739 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/2.943, allocations: 53.66 kB / 0.739 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/2.943, allocations: 336 kB / 0.7393 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/2.943, allocations: 63.05 kB / 0.7394 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/2.943, allocations: 34.5 kB / 0.7394 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/2.944, allocations: 405.2 kB / 0.7398 GB, free: 500 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/2.944, allocations: 2.25 kB / 0.7398 GB, free: 500 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/2.944, allocations: 22.81 kB / 0.7398 GB, free: 496 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/2.944, allocations: 10.31 kB / 0.7398 GB, free: 496 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005157/2.944, allocations: 283.7 kB / 0.7401 GB, free: 452 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/2.946, allocations: 2.025 MB / 0.7421 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005889/2.947, allocations: 219 kB / 0.7423 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/2.947, allocations: 84.31 kB / 0.7424 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2425/3.19, allocations: 122.5 MB / 0.862 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000505/3.19, allocations: 139.5 kB / 0.8622 GB, free: 2.035 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=21): time 4.529e-06/3.19, allocations: 1.203 kB / 0.8622 GB, free: 2.035 MB / 0.7012 GB Notification: Performance of matching and sorting (n=21): time 0.001495/3.192, allocations: 408.6 kB / 0.8626 GB, free: 1.68 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/3.192, allocations: 55.41 kB / 0.8626 GB, free: 1.613 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000616/3.192, allocations: 323.4 kB / 0.8629 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/3.192, allocations: 25.7 kB / 0.8629 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/3.193, allocations: 246.3 kB / 0.8632 GB, free: 1.129 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.691e-05/3.193, allocations: 65.08 kB / 0.8632 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/3.193, allocations: 78.53 kB / 0.8633 GB, free: 1.016 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002004/3.193, allocations: 341.1 kB / 0.8636 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/3.193, allocations: 81.62 kB / 0.8637 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/3.194, allocations: 184.7 kB / 0.8639 GB, free: 452 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/3.194, allocations: 264.4 kB / 0.8642 GB, free: 216 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/3.194, allocations: 4 kB / 0.8642 GB, free: 212 kB / 0.7012 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00104/3.195, allocations: 387.4 kB / 0.8645 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/3.195, allocations: 8 kB / 0.8645 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/3.195, allocations: 4 kB / 0.8645 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/3.197, allocations: 165.9 kB / 0.8647 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/3.197, allocations: 57.22 kB / 0.8647 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002941/3.2, allocations: 2.19 MB / 0.8669 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/3.2, allocations: 54.78 kB / 0.8669 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/3.2, allocations: 16.47 kB / 0.867 GB, free: 13.46 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 9 (sourceP1.C.ftype,puitsP1.fluid,checkValve.fluid,checkValve.libre,$whenCondition1,$whenCondition2,sourceP1.fluid1,sourceP1.C.diff_on_2,checkValve.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003221/3.201, allocations: 156.6 kB / 0.8671 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/3.201, allocations: 35.62 kB / 0.8671 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009339/3.202, allocations: 315.3 kB / 0.8674 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/3.202, allocations: 4 kB / 0.8674 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/3.202, allocations: 0 / 0.8674 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/3.202, allocations: 0 / 0.8674 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006338/3.202, allocations: 400.1 kB / 0.8678 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/3.202, allocations: 0 / 0.8678 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/3.203, allocations: 46.88 kB / 0.8679 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005625/3.203, allocations: 78.59 kB / 0.8679 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/3.203, allocations: 15.55 kB / 0.868 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006147/3.204, allocations: 0.5609 MB / 0.8685 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/3.204, allocations: 0 / 0.8685 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009453/3.205, allocations: 390.8 kB / 0.8689 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/3.205, allocations: 127.5 kB / 0.869 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/3.205, allocations: 3.25 kB / 0.869 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/3.205, allocations: 16.83 kB / 0.869 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/3.205, allocations: 27.2 kB / 0.869 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/3.206, allocations: 19.98 kB / 0.8691 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003159/3.206, allocations: 229.2 kB / 0.8693 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.5e-07/3.206, allocations: 0 / 0.8693 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00834/3.214, allocations: 1.463 MB / 0.8707 GB, free: 9.953 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (checkValve.theta,checkValve.omega) * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,checkValve.libre) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.01425/3.229, allocations: 2.275 MB / 0.8729 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001351/3.23, allocations: 352 kB / 0.8733 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/3.23, allocations: 4.062 kB / 0.8733 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003841/3.23, allocations: 110.5 kB / 0.8734 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007292/3.231, allocations: 69.39 kB / 0.8734 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/3.233, allocations: 0.9563 MB / 0.8744 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/3.234, allocations: 0.7912 MB / 0.8752 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/3.234, allocations: 43.23 kB / 0.8752 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of SimCode: time 1.352e-06/3.234, allocations: 0 / 0.8752 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of Templates: time 0.05622/3.29, allocations: 30.95 MB / 0.9054 GB, free: 6.977 MB / 0.7481 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValveCalcHelperMain.o] Error 1