Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.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.Book.SimpleExamples.PressureLoss.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6767/0.6767, allocations: 150.8 MB / 166.7 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.084e-05/1.085e-05, allocations: 4 kB / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.118, allocations: 31.97 MB / 237.4 MB, free: 5.422 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.Book.SimpleExamples.PressureLoss.TestCheckValve): time 1.298/1.416, allocations: 293.6 MB / 0.5185 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03579/1.452, allocations: 37.04 MB / 0.5547 GB, free: 8.586 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/1.452, allocations: 0 / 0.5547 GB, free: 8.586 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/1.452, allocations: 75.62 kB / 0.5548 GB, free: 8.512 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/1.452, allocations: 95.3 kB / 0.5549 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01487/1.467, allocations: 7.323 MB / 0.562 GB, free: 1.098 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003171/1.468, allocations: 342.3 kB / 0.5623 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/1.468, allocations: 113.6 kB / 0.5625 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/1.468, allocations: 127.3 kB / 0.5626 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/1.468, allocations: 107.4 kB / 0.5627 GB, free: 428 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/1.468, allocations: 8 kB / 0.5627 GB, free: 420 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0223/1.49, allocations: 17.82 MB / 0.5801 GB, free: 14.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/1.491, allocations: 35.8 kB / 0.5801 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/1.491, allocations: 153 kB / 0.5803 GB, free: 14.38 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005822/1.497, allocations: 5.633 MB / 0.5858 GB, free: 8.73 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/1.497, allocations: 0 / 0.5858 GB, free: 8.73 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.363e-06/1.497, allocations: 0 / 0.5858 GB, free: 8.73 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/1.497, allocations: 0 / 0.5858 GB, free: 8.73 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00257/1.499, allocations: 1.435 MB / 0.5872 GB, free: 7.246 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/1.499, allocations: 8.031 kB / 0.5872 GB, free: 7.238 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/1.499, allocations: 39.56 kB / 0.5872 GB, free: 7.199 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/1.499, allocations: 232.8 kB / 0.5874 GB, free: 6.934 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.256e-05/1.499, allocations: 54.12 kB / 0.5875 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/1.499, allocations: 16 kB / 0.5875 GB, free: 6.855 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/1.5, allocations: 318.8 kB / 0.5878 GB, free: 6.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/1.5, allocations: 5.859 kB / 0.5878 GB, free: 6.516 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/1.5, allocations: 12 kB / 0.5878 GB, free: 6.504 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/1.5, allocations: 23.92 kB / 0.5878 GB, free: 6.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/1.5, allocations: 192.4 kB / 0.588 GB, free: 6.293 MB / 478.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.01696/1.517, allocations: 9.969 MB / 0.5978 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/1.518, allocations: 174.8 kB / 0.5979 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/1.518, allocations: 117.2 kB / 0.598 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1522/1.67, allocations: 86.19 MB / 0.6822 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000318/1.67, allocations: 197.6 kB / 0.6824 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/1.67, allocations: 0 / 0.6824 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.0009607/1.671, allocations: 0.5263 MB / 0.6829 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/1.671, allocations: 81.11 kB / 0.683 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/1.672, allocations: 206.9 kB / 0.6832 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/1.672, allocations: 25.7 kB / 0.6832 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.43e-05/1.672, allocations: 152.6 kB / 0.6834 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.89e-05/1.672, allocations: 134 kB / 0.6835 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/1.672, allocations: 49.62 kB / 0.6835 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001018/1.672, allocations: 330.8 kB / 0.6838 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/1.672, allocations: 104.4 kB / 0.6839 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/1.672, allocations: 170 kB / 0.6841 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/1.673, allocations: 0.5537 MB / 0.6847 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.673, allocations: 4 kB / 0.6847 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005586/1.674, allocations: 370.1 kB / 0.685 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.674, allocations: 8 kB / 0.685 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.674, allocations: 0 / 0.685 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005596/1.675, allocations: 144.8 kB / 0.6852 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.765e-05/1.675, allocations: 19.92 kB / 0.6852 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003944/1.675, allocations: 0.6146 MB / 0.6858 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/1.675, allocations: 47.64 kB / 0.6858 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/1.675, allocations: 7.984 kB / 0.6858 GB, free: 7.285 MB / 0.5762 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: 8 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.checkValve3.touvert,$whenCondition3,$PRE.checkValve3.tferme,$whenCondition2,$whenCondition1,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001509/1.675, allocations: 148.2 kB / 0.686 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/1.676, allocations: 31.59 kB / 0.686 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006417/1.676, allocations: 0.5194 MB / 0.6865 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004364/1.677, allocations: 326.3 kB / 0.6868 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.677, allocations: 0 / 0.6868 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.677, allocations: 3.984 kB / 0.6868 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/1.678, allocations: 0.881 MB / 0.6877 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.678, allocations: 0 / 0.6877 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.875e-05/1.678, allocations: 31.98 kB / 0.6877 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005284/1.678, allocations: 149.2 kB / 0.6879 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/1.678, allocations: 4 kB / 0.6879 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003466/1.679, allocations: 0.6342 MB / 0.6885 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.679, allocations: 0 / 0.6885 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/1.679, allocations: 451.9 kB / 0.6889 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.651e-05/1.679, allocations: 134.2 kB / 0.689 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/1.679, allocations: 7.984 kB / 0.689 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/1.68, allocations: 20.28 kB / 0.6891 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/1.68, allocations: 15.97 kB / 0.6891 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/1.68, allocations: 19.92 kB / 0.6891 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001448/1.68, allocations: 184.4 kB / 0.6893 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/1.68, allocations: 3.938 kB / 0.6893 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002085/1.682, allocations: 1.194 MB / 0.6904 GB, free: 2.379 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,pulse.T0,checkValve3.ouvert,checkValve3.touvert,checkValve3.tferme) * Number of discrete states: 2 (checkValve3.touvert,checkValve3.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003679/1.686, allocations: 1.759 MB / 0.6922 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005757/1.686, allocations: 338.4 kB / 0.6925 GB, free: 288 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.686, allocations: 0 / 0.6925 GB, free: 288 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000299/1.686, allocations: 159.9 kB / 0.6926 GB, free: 128 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006691/1.687, allocations: 119 kB / 0.6927 GB, free: 12 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1254/1.813, allocations: 0.7472 MB / 0.6935 GB, free: 227.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/1.813, allocations: 0.7807 MB / 0.6942 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/1.813, allocations: 23.16 kB / 0.6943 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/1.813, allocations: 1.188 kB / 0.6943 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.02395/1.837, allocations: 24.58 MB / 0.7183 GB, free: 220.7 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValveCalcHelperMain.o] Error 1