Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7338/0.7338, allocations: 150.8 MB / 166.7 MB, free: 15.36 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.689e-05/1.689e-05, allocations: 4 kB / 205.4 MB, free: 9.82 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1408, allocations: 31.98 MB / 237.4 MB, free: 5.34 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.Fluid.Examples.SimpleExamples.TestCheckValve): time 1.426/1.567, allocations: 299.3 MB / 0.5242 GB, free: 7.742 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4436/2.01, allocations: 195.7 MB / 0.7153 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007343/2.011, allocations: 28.03 kB / 0.7153 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003185/2.011, allocations: 172.5 kB / 0.7155 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/2.012, allocations: 0.5867 MB / 0.7161 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03109/2.044, allocations: 11.42 MB / 0.7272 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002619/2.046, allocations: 2.58 MB / 0.7297 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/2.047, allocations: 1.128 MB / 0.7308 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008582/2.048, allocations: 0.8503 MB / 0.7317 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006981/2.049, allocations: 0.968 MB / 0.7326 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/2.049, allocations: 108.7 kB / 0.7327 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0338/2.083, allocations: 22.8 MB / 0.755 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008383/2.084, allocations: 411.2 kB / 0.7554 GB, free: 0 / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001575/2.085, allocations: 1.088 MB / 0.7564 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01528/2.101, allocations: 9.384 MB / 0.7656 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/2.101, allocations: 0.9375 kB / 0.7656 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.154e-06/2.101, allocations: 0 / 0.7656 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.745e-05/2.101, allocations: 0 / 0.7656 GB, free: 12.02 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: 575 * Number of variables: 575 Notification: Performance of Generate backend data structure: time 0.007909/2.109, allocations: 3.506 MB / 0.769 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/2.109, allocations: 8.938 kB / 0.769 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003603/2.109, allocations: 268.6 kB / 0.7693 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/2.11, allocations: 0.967 MB / 0.7702 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/2.11, allocations: 251.2 kB / 0.7705 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003187/2.111, allocations: 228.9 kB / 0.7707 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/2.114, allocations: 2.415 MB / 0.7731 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/2.114, allocations: 10.66 kB / 0.7731 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/2.114, allocations: 95.89 kB / 0.7732 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.852e-05/2.114, allocations: 60.16 kB / 0.7732 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002878/2.117, allocations: 1.884 MB / 0.7751 GB, free: 7.84 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.02315/2.14, allocations: 22.34 MB / 0.7969 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/2.142, allocations: 1.209 MB / 0.7981 GB, free: 448 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008214/2.143, allocations: 492.2 kB / 0.7985 GB, free: 92 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.717/2.86, allocations: 295.2 MB / 1.087 GB, free: 370 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/2.861, allocations: 0.6029 MB / 1.087 GB, free: 369.6 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=104): time 3.987e-06/2.861, allocations: 0 / 1.087 GB, free: 369.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=104): time 0.01434/2.875, allocations: 3.96 MB / 1.091 GB, free: 366.1 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/2.876, allocations: 252.8 kB / 1.091 GB, free: 365.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/2.877, allocations: 1.236 MB / 1.093 GB, free: 364.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.869e-05/2.877, allocations: 48.02 kB / 1.093 GB, free: 364.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005453/2.878, allocations: 1.028 MB / 1.094 GB, free: 364.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/2.878, allocations: 362.3 kB / 1.094 GB, free: 363.8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/2.878, allocations: 191.1 kB / 1.094 GB, free: 363.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.513e-05/2.878, allocations: 309.2 kB / 1.095 GB, free: 363.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007646/2.879, allocations: 447.1 kB / 1.095 GB, free: 363.1 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009662/2.88, allocations: 1.267 MB / 1.096 GB, free: 361.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002737/2.883, allocations: 2.053 MB / 1.098 GB, free: 359.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.797e-05/2.883, allocations: 8 kB / 1.098 GB, free: 359.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.003392/2.886, allocations: 2.187 MB / 1.1 GB, free: 357.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/2.886, allocations: 20.98 kB / 1.1 GB, free: 357.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/2.886, allocations: 28.81 kB / 1.1 GB, free: 357.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004494/2.891, allocations: 1.19 MB / 1.102 GB, free: 356.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/2.891, allocations: 294.9 kB / 1.102 GB, free: 356.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/2.893, allocations: 1.929 MB / 1.104 GB, free: 354.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/2.894, allocations: 245.2 kB / 1.104 GB, free: 354.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/2.894, allocations: 111.7 kB / 1.104 GB, free: 354.5 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: 126 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.checkValve1.touvert,$whenCondition7,$PRE.checkValve1.tferme,$whenCondition6,$PRE.checkValve2.touvert,$whenCondition5,$PRE.checkValve2.tferme,$whenCondition4,$PRE.checkValve3.touvert,$whenCondition3,$PRE.checkValve3.tferme,$whenCondition2,$whenCondition1,volumeC.Cs.ftype,sourceP.C.ftype,volumeC.Ce1.ftype,volumeD.Cs2.ftype,volumeD.Cs1.ftype,volumeC.fluids[1],volumeD.Cs3.ftype,volumeD.fluids[1],puitsP.fluid,staticCentrifugalPump1.fluid,staticCentrifugalPump2.fluid,checkValve1.fluid,checkValve2.fluid,perteDP.fluid,perteDP1.fluid,checkValve2.tferme,checkValve2.touvert,checkValve2.ouvert,$PRE.checkValve2.ouvert,checkValve1.tferme,checkValve1.touvert,checkValve1.ouvert,$PRE.checkValve1.ouvert,sourceP1.C.ftype,$PRE.pulse.T0,puitsP1.fluid,checkValve3.fluid,checkValve3.tferme,checkValve3.touvert,checkValve3.ouvert,$PRE.checkValve3.ouvert,pulse.T0,sourceP1.fluid1,volumeC.fluid1,volumeD.fluid1,sourceP.fluid1,sourceP1.C.diff_on_2,checkValve3.C2.diff_on_1,volumeC.Cs.diff_on_1,volumeD.Ce.diff_on_2,volumeC.Ce3.diff_on_2,staticCentrifugalPump2.C2.diff_on_2,volumeD.Cs2.diff_on_2,volumeC.Ce2.diff_on_2,staticCentrifugalPump1.C2.diff_on_2,volumeD.Cs1.diff_on_2,volumeC.Ce1.diff_on_2,volumeC.Ce1.diff_on_1,volumeD.Cs2.diff_on_1,staticCentrifugalPump2.C2.diff_on_1,checkValve2.C2.diff_on_1,volumeD.Cs1.diff_on_1,staticCentrifugalPump1.C2.diff_on_1,checkValve1.C2.diff_on_1,volumeD.Cs3.diff_on_1,volumeD.Cs3.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 195 * 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 {(10,40), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006542/2.895, allocations: 431.6 kB / 1.105 GB, free: 354.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/2.895, allocations: 156.3 kB / 1.105 GB, free: 354.1 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/2.898, allocations: 1.388 MB / 1.106 GB, free: 353.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/2.898, allocations: 12 kB / 1.106 GB, free: 353.1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/2.898, allocations: 0 / 1.106 GB, free: 353.1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/2.898, allocations: 11.97 kB / 1.106 GB, free: 353.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003606/2.901, allocations: 3.132 MB / 1.109 GB, free: 350.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/2.901, allocations: 3.984 kB / 1.109 GB, free: 350.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/2.902, allocations: 93.02 kB / 1.109 GB, free: 350.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003802/2.906, allocations: 0.9719 MB / 1.11 GB, free: 349.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/2.906, allocations: 30.67 kB / 1.11 GB, free: 349.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/2.907, allocations: 1.775 MB / 1.112 GB, free: 348.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/2.907, allocations: 4.781 kB / 1.112 GB, free: 348.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002469/2.91, allocations: 1.768 MB / 1.114 GB, free: 346.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/2.91, allocations: 326.8 kB / 1.114 GB, free: 346.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/2.91, allocations: 27.98 kB / 1.114 GB, free: 346.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/2.911, allocations: 55.91 kB / 1.114 GB, free: 346.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/2.911, allocations: 80.83 kB / 1.114 GB, free: 346.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-05/2.911, allocations: 39.97 kB / 1.114 GB, free: 346.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007441/2.912, allocations: 0.7549 MB / 1.115 GB, free: 345.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.11e-07/2.912, allocations: 0 / 1.115 GB, free: 345.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004982/2.917, allocations: 2.249 MB / 1.117 GB, free: 343.4 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (checkValve1.touvert,checkValve1.tferme,checkValve2.touvert,checkValve2.tferme,checkValve3.touvert,checkValve3.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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), (8,37)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007827/2.925, allocations: 2.925 MB / 1.12 GB, free: 341 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002217/2.927, allocations: 1.325 MB / 1.121 GB, free: 339.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/2.927, allocations: 4 kB / 1.121 GB, free: 339.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009193/2.928, allocations: 0.5385 MB / 1.122 GB, free: 339.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/2.929, allocations: 316.5 kB / 1.122 GB, free: 338.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003936/2.933, allocations: 3.88 MB / 1.126 GB, free: 334.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005166/2.934, allocations: 1.322 MB / 1.127 GB, free: 333.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/2.934, allocations: 119.4 kB / 1.127 GB, free: 333.5 MB / 0.8106 GB Notification: Performance of SimCode: time 3.2e-07/2.934, allocations: 4 kB / 1.127 GB, free: 333.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.05512/2.989, allocations: 61.84 MB / 1.188 GB, free: 272.4 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestCheckValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValveCalcHelperMain.o] Error 1