Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCheckValve.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.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCheckValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6952/0.6952, allocations: 150.8 MB / 166.7 MB, free: 15.36 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.227e-05/1.229e-05, allocations: 4 kB / 205.4 MB, free: 9.816 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 31.98 MB / 237.4 MB, free: 5.43 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.TestCheckValve): time 1.326/1.447, allocations: 298 MB / 0.5229 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3892/1.837, allocations: 186.4 MB / 0.7049 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004259/1.837, allocations: 10.41 kB / 0.7049 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004302/1.837, allocations: 212.4 kB / 0.7051 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007353/1.838, allocations: 456.5 kB / 0.7056 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01917/1.857, allocations: 9.141 MB / 0.7145 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001429/1.859, allocations: 1.851 MB / 0.7163 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005022/1.859, allocations: 0.6101 MB / 0.7169 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004816/1.86, allocations: 0.6084 MB / 0.7175 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004283/1.86, allocations: 0.5943 MB / 0.7181 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.01e-05/1.86, allocations: 52.03 kB / 0.7181 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02448/1.885, allocations: 20.19 MB / 0.7378 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/1.885, allocations: 212.8 kB / 0.738 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008063/1.886, allocations: 0.7073 MB / 0.7387 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007759/1.894, allocations: 7.514 MB / 0.7461 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.894, allocations: 0 / 0.7461 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.202e-06/1.894, allocations: 0 / 0.7461 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.241e-05/1.894, allocations: 0 / 0.7461 GB, free: 15.66 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: 407 * Number of variables: 407 Notification: Performance of Generate backend data structure: time 0.004771/1.899, allocations: 2.639 MB / 0.7487 GB, free: 14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/1.899, allocations: 11.56 kB / 0.7487 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/1.899, allocations: 167 kB / 0.7488 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/1.899, allocations: 0.5905 MB / 0.7494 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/1.899, allocations: 172.2 kB / 0.7496 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/1.9, allocations: 119.8 kB / 0.7497 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/1.901, allocations: 1.553 MB / 0.7512 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/1.901, allocations: 6.219 kB / 0.7512 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-05/1.901, allocations: 47.97 kB / 0.7512 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.03e-05/1.901, allocations: 64.98 kB / 0.7513 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/1.903, allocations: 1.051 MB / 0.7523 GB, free: 12.64 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.05124/1.954, allocations: 33.89 MB / 0.7854 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/1.956, allocations: 0.9818 MB / 0.7864 GB, free: 16 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008546/1.956, allocations: 0.6239 MB / 0.787 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2881/2.244, allocations: 160 MB / 0.9433 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/2.246, allocations: 0.7365 MB / 0.944 GB, free: 0.6992 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=205): time 2.645e-06/2.246, allocations: 0 / 0.944 GB, free: 0.6992 MB / 0.7794 GB Notification: Performance of matching and sorting (n=205): time 0.02737/2.273, allocations: 6.748 MB / 0.9506 GB, free: 10.62 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.123e-05/2.273, allocations: 220.1 kB / 0.9508 GB, free: 10.36 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006932/2.274, allocations: 0.7128 MB / 0.9515 GB, free: 9.805 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/2.274, allocations: 48.38 kB / 0.9516 GB, free: 9.766 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/2.274, allocations: 0.4935 MB / 0.952 GB, free: 9.41 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003719/2.275, allocations: 0.6474 MB / 0.9527 GB, free: 8.855 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/2.275, allocations: 157 kB / 0.9528 GB, free: 8.75 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001242/2.275, allocations: 361.7 kB / 0.9532 GB, free: 8.414 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007023/2.275, allocations: 467.5 kB / 0.9536 GB, free: 8.137 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008895/2.276, allocations: 0.8187 MB / 0.9544 GB, free: 7.387 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/2.279, allocations: 1.676 MB / 0.956 GB, free: 6.145 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/2.279, allocations: 4 kB / 0.956 GB, free: 6.141 MB / 0.795 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002966/2.282, allocations: 1.972 MB / 0.958 GB, free: 4.238 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/2.282, allocations: 12.12 kB / 0.958 GB, free: 4.227 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/2.282, allocations: 12 kB / 0.958 GB, free: 4.215 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004922/2.287, allocations: 2.029 MB / 0.96 GB, free: 2.176 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/2.287, allocations: 96.17 kB / 0.9601 GB, free: 2.098 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/2.29, allocations: 2.416 MB / 0.9624 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007346/2.291, allocations: 190.1 kB / 0.9626 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.291e-05/2.291, allocations: 57.89 kB / 0.9627 GB, free: 15.4 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: 45 * Number of states: 0 () * Number of discrete variables: 55 ($PRE.checkValve2.touvert,$whenCondition7,$PRE.checkValve2.tferme,$whenCondition6,$PRE.checkValve1.touvert,$whenCondition5,$PRE.checkValve1.tferme,$whenCondition4,$PRE.checkValve3.touvert,$whenCondition3,$PRE.checkValve3.tferme,$whenCondition2,$whenCondition1,checkValve2.tferme,checkValve2.touvert,checkValve2.ouvert,$PRE.checkValve2.ouvert,checkValve1.tferme,checkValve1.touvert,checkValve1.ouvert,$PRE.checkValve1.ouvert,$PRE.pulse.T0,checkValve3.tferme,checkValve3.touvert,checkValve3.ouvert,$PRE.checkValve3.ouvert,pulse.T0,checkValve3.C2.b,checkValve3.C1.a,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,checkValve2.C2.b,checkValve2.C1.a,checkValve1.C2.b,checkValve1.C1.a,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 (90): * Single equations (assignments): 84 * 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,38), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003991/2.291, allocations: 305.4 kB / 0.963 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/2.291, allocations: 118.4 kB / 0.9631 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003459/2.295, allocations: 2.874 MB / 0.9659 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002599/2.298, allocations: 1.965 MB / 0.9678 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/2.298, allocations: 0 / 0.9678 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/2.298, allocations: 7.969 kB / 0.9678 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005536/2.303, allocations: 4.642 MB / 0.9723 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/2.303, allocations: 0 / 0.9723 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005099/2.304, allocations: 187.5 kB / 0.9725 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004087/2.308, allocations: 1.664 MB / 0.9741 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.984e-05/2.308, allocations: 35.98 kB / 0.9742 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/2.31, allocations: 2.312 MB / 0.9764 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/2.31, allocations: 0 / 0.9764 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1422/2.452, allocations: 3.059 MB / 0.9794 GB, free: 458.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005516/2.453, allocations: 377.1 kB / 0.9798 GB, free: 458.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/2.453, allocations: 33.53 kB / 0.9798 GB, free: 458.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/2.454, allocations: 83.27 kB / 0.9799 GB, free: 458.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/2.454, allocations: 107.6 kB / 0.98 GB, free: 458.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.521e-05/2.454, allocations: 51.22 kB / 0.98 GB, free: 458.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006008/2.455, allocations: 0.5692 MB / 0.9806 GB, free: 458.6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.1e-07/2.455, allocations: 1.438 kB / 0.9806 GB, free: 458.6 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003981/2.459, allocations: 1.81 MB / 0.9824 GB, free: 458.6 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,checkValve3.ouvert,checkValve3.touvert,checkValve3.tferme,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,checkValve1.ouvert,checkValve1.touvert,checkValve1.tferme,checkValve2.ouvert,checkValve2.touvert,checkValve2.tferme) * Number of discrete states: 6 (checkValve2.touvert,checkValve2.tferme,checkValve1.touvert,checkValve1.tferme,checkValve3.touvert,checkValve3.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 120 * 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 {(1,2), (11,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006/2.465, allocations: 2.366 MB / 0.9847 GB, free: 458.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002813/2.467, allocations: 2.073 MB / 0.9867 GB, free: 457.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/2.467, allocations: 4.938 kB / 0.9867 GB, free: 457.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/2.469, allocations: 0.9951 MB / 0.9877 GB, free: 457.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/2.472, allocations: 0.6025 MB / 0.9883 GB, free: 457.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/2.475, allocations: 3.903 MB / 0.9921 GB, free: 456.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/2.476, allocations: 1.329 MB / 0.9934 GB, free: 455.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/2.476, allocations: 93.34 kB / 0.9935 GB, free: 455.3 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/2.476, allocations: 0 / 0.9935 GB, free: 455.3 MB / 0.8106 GB Notification: Performance of Templates: time 0.04395/2.52, allocations: 54.58 MB / 1.047 GB, free: 421.3 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCheckValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCheckValve.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.TestCheckValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCheckValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCheckValveCalcHelperMain.o] Error 1