Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestIdealCheckValve.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.Examples.SimpleExamples.TestIdealCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestIdealCheckValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestIdealCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestIdealCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.685/0.685, allocations: 150.8 MB / 166.7 MB, free: 15.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.435e-05/1.437e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1128, allocations: 31.99 MB / 237.4 MB, free: 5.242 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestIdealCheckValve): time 1.3/1.413, allocations: 298.3 MB / 0.5232 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3919/1.805, allocations: 186.6 MB / 0.7053 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007714/1.806, allocations: 10.16 kB / 0.7054 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006004/1.806, allocations: 221.6 kB / 0.7056 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/1.808, allocations: 469.5 kB / 0.706 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01931/1.827, allocations: 9.2 MB / 0.715 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001639/1.829, allocations: 1.956 MB / 0.7169 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007088/1.829, allocations: 0.6817 MB / 0.7176 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007535/1.83, allocations: 0.6489 MB / 0.7182 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004797/1.831, allocations: 0.6538 MB / 0.7189 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.909e-05/1.831, allocations: 54.47 kB / 0.7189 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02394/1.855, allocations: 20.2 MB / 0.7386 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002379/1.855, allocations: 229.8 kB / 0.7388 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008034/1.856, allocations: 0.7637 MB / 0.7396 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007846/1.864, allocations: 7.605 MB / 0.747 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/1.864, allocations: 1.969 kB / 0.747 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/1.864, allocations: 4 kB / 0.747 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.272e-05/1.864, allocations: 0 / 0.747 GB, free: 15.14 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 433 * Number of variables: 433 Notification: Performance of Generate backend data structure: time 0.004967/1.869, allocations: 2.726 MB / 0.7497 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/1.869, allocations: 8.656 kB / 0.7497 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/1.869, allocations: 184.2 kB / 0.7499 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005977/1.87, allocations: 0.6434 MB / 0.7505 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.815e-05/1.87, allocations: 185.5 kB / 0.7507 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/1.87, allocations: 125.6 kB / 0.7508 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/1.872, allocations: 1.678 MB / 0.7524 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/1.872, allocations: 9.125 kB / 0.7524 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/1.872, allocations: 61.08 kB / 0.7525 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/1.872, allocations: 64.11 kB / 0.7526 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/1.873, allocations: 1.13 MB / 0.7537 GB, free: 11.95 MB / 0.5919 GB 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.05224/1.926, allocations: 34.65 MB / 0.7875 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/1.928, allocations: 1.197 MB / 0.7887 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008769/1.928, allocations: 0.6565 MB / 0.7893 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2844/2.213, allocations: 160 MB / 0.9456 GB, free: 15.23 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/2.214, allocations: 0.7569 MB / 0.9463 GB, free: 14.7 MB / 0.795 GB Notification: Performance of pre-optimization done (n=206): time 3.226e-06/2.214, allocations: 0 / 0.9463 GB, free: 14.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=206): time 0.01835/2.233, allocations: 5.167 MB / 0.9514 GB, free: 10.24 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.992e-05/2.233, allocations: 227.4 kB / 0.9516 GB, free: 9.973 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007832/2.233, allocations: 0.7997 MB / 0.9524 GB, free: 9.34 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.86e-05/2.233, allocations: 46.2 kB / 0.9524 GB, free: 9.301 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/2.234, allocations: 0.5574 MB / 0.953 GB, free: 8.906 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003834/2.234, allocations: 0.6484 MB / 0.9536 GB, free: 8.344 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/2.234, allocations: 171.4 kB / 0.9538 GB, free: 8.23 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.343e-05/2.234, allocations: 301.6 kB / 0.9541 GB, free: 7.934 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008077/2.235, allocations: 490.4 kB / 0.9545 GB, free: 7.598 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00099/2.236, allocations: 0.8862 MB / 0.9554 GB, free: 6.551 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004461/2.241, allocations: 2.114 MB / 0.9575 GB, free: 4.336 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/2.241, allocations: 7.844 kB / 0.9575 GB, free: 4.332 MB / 0.795 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002991/2.244, allocations: 2.05 MB / 0.9595 GB, free: 2.34 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/2.244, allocations: 12 kB / 0.9595 GB, free: 2.328 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/2.244, allocations: 8 kB / 0.9595 GB, free: 2.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004779/2.249, allocations: 1.99 MB / 0.9614 GB, free: 336 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/2.249, allocations: 106.5 kB / 0.9615 GB, free: 244 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002983/2.252, allocations: 2.512 MB / 0.964 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007823/2.253, allocations: 194 kB / 0.9642 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.463e-05/2.253, allocations: 59.98 kB / 0.9642 GB, free: 13.43 MB / 0.8106 GB Warning: Assuming fixed start value for the following 1 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.idealCheckValve2.touvert,$whenCondition7,$PRE.idealCheckValve2.tferme,$whenCondition6,$PRE.idealCheckValve1.touvert,$whenCondition5,$PRE.idealCheckValve1.tferme,$whenCondition4,$PRE.idealCheckValve3.touvert,$whenCondition3,$PRE.idealCheckValve3.tferme,$whenCondition2,$whenCondition1,idealCheckValve2.tferme,idealCheckValve2.touvert,idealCheckValve2.ouvert,$PRE.idealCheckValve2.ouvert,idealCheckValve1.tferme,idealCheckValve1.touvert,idealCheckValve1.ouvert,$PRE.idealCheckValve1.ouvert,$PRE.pulse.T0,idealCheckValve3.tferme,idealCheckValve3.touvert,idealCheckValve3.ouvert,$PRE.idealCheckValve3.ouvert,pulse.T0,perteDP3.C2.b,perteDP3.C1.a,perteDP2.C2.b,perteDP2.C1.a,idealCheckValve3.C1.a,idealCheckValve3.C2.b,puitsP1.C.a,sourceP1.C.b,perteDP1.C2.b,perteDP1.C1.a,perteDP.C2.b,perteDP.C1.a,volumeC.Ce3.a,volumeC.Cs.b,volumeC.Ce2.a,volumeC.Ce1.a,idealCheckValve2.C1.a,idealCheckValve2.C2.b,idealCheckValve1.C1.a,idealCheckValve1.C2.b,volumeD.Cs3.b,volumeD.Cs2.b,volumeD.Cs1.b,volumeD.Ce.a,staticCentrifugalPump2.C2.b,staticCentrifugalPump2.C1.a,staticCentrifugalPump1.C2.b,staticCentrifugalPump1.C1.a,puitsP.C.a,sourceP.C.b,volumeC.Ce1.b,volumeD.Cs3.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(14,34), (5,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004107/2.253, allocations: 322.8 kB / 0.9645 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/2.253, allocations: 134.2 kB / 0.9647 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00376/2.257, allocations: 2.883 MB / 0.9675 GB, free: 10 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002811/2.26, allocations: 1.99 MB / 0.9694 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/2.26, allocations: 4 kB / 0.9694 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/2.26, allocations: 7.969 kB / 0.9694 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005681/2.266, allocations: 4.677 MB / 0.974 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/2.266, allocations: 0 / 0.974 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/2.266, allocations: 179.5 kB / 0.9742 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00366/2.27, allocations: 1.525 MB / 0.9757 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-05/2.27, allocations: 39.98 kB / 0.9757 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1423/2.412, allocations: 2.374 MB / 0.978 GB, free: 458.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/2.412, allocations: 0 / 0.978 GB, free: 458.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004033/2.416, allocations: 3.101 MB / 0.981 GB, free: 458.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004223/2.417, allocations: 390.7 kB / 0.9814 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/2.417, allocations: 31.31 kB / 0.9814 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000628/2.417, allocations: 79.09 kB / 0.9815 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/2.418, allocations: 109.9 kB / 0.9816 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.078e-05/2.418, allocations: 48.95 kB / 0.9817 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006161/2.418, allocations: 0.6188 MB / 0.9823 GB, free: 458 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/2.418, allocations: 2.188 kB / 0.9823 GB, free: 458 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003628/2.422, allocations: 1.834 MB / 0.9841 GB, free: 458 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volumeD.h,volumeC.h) * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,pulse.T0,idealCheckValve3.ouvert,idealCheckValve3.touvert,idealCheckValve3.tferme,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,idealCheckValve1.ouvert,idealCheckValve1.touvert,idealCheckValve1.tferme,idealCheckValve2.ouvert,idealCheckValve2.touvert,idealCheckValve2.tferme) * Number of discrete states: 6 (idealCheckValve2.touvert,idealCheckValve2.tferme,idealCheckValve1.touvert,idealCheckValve1.tferme,idealCheckValve3.touvert,idealCheckValve3.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 4 * 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 {(5,12), (12,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005349/2.427, allocations: 2.364 MB / 0.9864 GB, free: 457.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002981/2.43, allocations: 2.129 MB / 0.9885 GB, free: 457.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/2.43, allocations: 0 / 0.9885 GB, free: 457.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/2.432, allocations: 1.037 MB / 0.9895 GB, free: 457.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/2.435, allocations: 0.5738 MB / 0.99 GB, free: 457.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/2.438, allocations: 4.001 MB / 0.9939 GB, free: 455.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/2.439, allocations: 1.351 MB / 0.9953 GB, free: 454.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/2.439, allocations: 97.41 kB / 0.9953 GB, free: 454.7 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/2.439, allocations: 0 / 0.9953 GB, free: 454.7 MB / 0.8106 GB Notification: Performance of Templates: time 0.04375/2.483, allocations: 55.68 MB / 1.05 GB, free: 418.5 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestIdealCheckValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestIdealCheckValve.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.Examples.SimpleExamples.TestIdealCheckValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestIdealCheckValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestIdealCheckValveCalcHelperMain.o] Error 1