Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestIdealCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealCheckValve") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7464/0.7464, allocations: 150.8 MB / 166.7 MB, free: 15.57 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.517e-05/1.526e-05, allocations: 4 kB / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1364, allocations: 31.98 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.Fluid.Examples.SimpleExamples.TestIdealCheckValve): time 1.456/1.592, allocations: 300.1 MB / 0.5249 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4529/2.045, allocations: 196 MB / 0.7163 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/2.046, allocations: 28.72 kB / 0.7163 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005267/2.047, allocations: 192.3 kB / 0.7165 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001769/2.049, allocations: 0.6538 MB / 0.7171 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0301/2.079, allocations: 11.5 MB / 0.7284 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002893/2.082, allocations: 2.871 MB / 0.7312 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/2.083, allocations: 1.272 MB / 0.7324 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/2.085, allocations: 0.9396 MB / 0.7333 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001478/2.086, allocations: 1.099 MB / 0.7344 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003554/2.086, allocations: 122.3 kB / 0.7345 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03497/2.121, allocations: 22.84 MB / 0.7568 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009219/2.122, allocations: 461.2 kB / 0.7573 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002793/2.125, allocations: 1.194 MB / 0.7584 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01357/2.139, allocations: 9.648 MB / 0.7678 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/2.139, allocations: 0 / 0.7678 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/2.139, allocations: 4 kB / 0.7678 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000117/2.139, allocations: 0 / 0.7678 GB, free: 11.45 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: 650 * Number of variables: 650 Notification: Performance of Generate backend data structure: time 0.008073/2.147, allocations: 3.728 MB / 0.7715 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/2.147, allocations: 12.97 kB / 0.7715 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006033/2.148, allocations: 306.1 kB / 0.7718 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/2.149, allocations: 1.045 MB / 0.7728 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/2.149, allocations: 274.1 kB / 0.7731 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003752/2.15, allocations: 264 kB / 0.7733 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003802/2.154, allocations: 2.669 MB / 0.7759 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.987e-05/2.154, allocations: 5.938 kB / 0.7759 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/2.154, allocations: 116.4 kB / 0.7761 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/2.154, allocations: 63.34 kB / 0.7761 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003481/2.157, allocations: 2.139 MB / 0.7782 GB, free: 6.359 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.02303/2.18, allocations: 23.41 MB / 0.8011 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/2.183, allocations: 1.509 MB / 0.8025 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009235/2.184, allocations: 0.5492 MB / 0.8031 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6989/2.883, allocations: 295.2 MB / 1.091 GB, free: 334.3 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001207/2.884, allocations: 0.6657 MB / 1.092 GB, free: 333.8 MB / 0.795 GB Notification: Performance of pre-optimization done (n=123): time 4.158e-06/2.884, allocations: 0 / 1.092 GB, free: 333.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=123): time 0.01683/2.901, allocations: 4.5 MB / 1.096 GB, free: 329.8 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/2.901, allocations: 255.8 kB / 1.097 GB, free: 329.5 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/2.902, allocations: 1.36 MB / 1.098 GB, free: 328.5 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/2.903, allocations: 49.95 kB / 1.098 GB, free: 328.5 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006118/2.903, allocations: 1.113 MB / 1.099 GB, free: 327.7 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/2.904, allocations: 423.9 kB / 1.099 GB, free: 327.3 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/2.904, allocations: 207.6 kB / 1.1 GB, free: 327.2 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.605e-05/2.904, allocations: 305.1 kB / 1.1 GB, free: 326.9 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000848/2.905, allocations: 496.5 kB / 1.1 GB, free: 326.6 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/2.906, allocations: 1.328 MB / 1.102 GB, free: 325.1 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005521/2.911, allocations: 2.706 MB / 1.104 GB, free: 322.6 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.019e-05/2.911, allocations: 8 kB / 1.104 GB, free: 322.6 MB / 0.795 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.004883/2.916, allocations: 2.559 MB / 1.107 GB, free: 320.6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/2.916, allocations: 16 kB / 1.107 GB, free: 320.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.688e-05/2.916, allocations: 28.91 kB / 1.107 GB, free: 320.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004441/2.921, allocations: 1.161 MB / 1.108 GB, free: 319.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008691/2.922, allocations: 319 kB / 1.108 GB, free: 319.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/2.924, allocations: 1.982 MB / 1.11 GB, free: 317.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/2.925, allocations: 259.2 kB / 1.111 GB, free: 317.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/2.925, allocations: 115.7 kB / 1.111 GB, free: 317.1 MB / 0.795 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: 68 ($PRE.idealCheckValve3.touvert,$whenCondition7,$PRE.idealCheckValve3.tferme,$whenCondition6,$whenCondition5,$PRE.idealCheckValve1.touvert,$whenCondition4,$PRE.idealCheckValve1.tferme,$whenCondition3,$PRE.idealCheckValve2.touvert,$whenCondition2,$PRE.idealCheckValve2.tferme,$whenCondition1,sourceP1.C.ftype,$PRE.pulse.T0,puitsP1.fluid,perteDP2.fluid,perteDP3.fluid,idealCheckValve3.tferme,idealCheckValve3.touvert,idealCheckValve3.ouvert,$PRE.idealCheckValve3.ouvert,pulse.T0,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,perteDP.fluid,perteDP1.fluid,idealCheckValve2.tferme,idealCheckValve2.touvert,idealCheckValve2.ouvert,$PRE.idealCheckValve2.ouvert,idealCheckValve1.tferme,idealCheckValve1.touvert,idealCheckValve1.ouvert,$PRE.idealCheckValve1.ouvert,volumeC.fluid1,volumeD.fluid1,sourceP.fluid1,sourceP1.fluid1,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,idealCheckValve2.C2.diff_on_1,volumeD.Cs1.diff_on_1,staticCentrifugalPump1.C2.diff_on_1,idealCheckValve1.C2.diff_on_1,volumeD.Cs3.diff_on_1,volumeD.Cs3.diff_on_2,perteDP2.C1.diff_on_2,perteDP3.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 209 * 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 {(3,10), (10,36)} Notification: Performance of prepare postOptimizeDAE: time 0.0007738/2.926, allocations: 460.8 kB / 1.111 GB, free: 316.8 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/2.926, allocations: 181.9 kB / 1.111 GB, free: 316.6 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005396/2.932, allocations: 2.089 MB / 1.113 GB, free: 315 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/2.932, allocations: 12 kB / 1.113 GB, free: 315 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/2.932, allocations: 4 kB / 1.113 GB, free: 315 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/2.932, allocations: 7.969 kB / 1.113 GB, free: 315 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005349/2.937, allocations: 3.524 MB / 1.117 GB, free: 311.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/2.937, allocations: 3.938 kB / 1.117 GB, free: 311.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/2.937, allocations: 115.8 kB / 1.117 GB, free: 311.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003468/2.941, allocations: 0.9061 MB / 1.118 GB, free: 310.8 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.106e-05/2.941, allocations: 35.98 kB / 1.118 GB, free: 310.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/2.943, allocations: 1.849 MB / 1.12 GB, free: 308.9 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/2.943, allocations: 11.66 kB / 1.12 GB, free: 308.9 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00428/2.947, allocations: 2.29 MB / 1.122 GB, free: 306.6 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005905/2.948, allocations: 378.5 kB / 1.122 GB, free: 306.2 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/2.948, allocations: 24 kB / 1.122 GB, free: 306.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007089/2.948, allocations: 52.03 kB / 1.122 GB, free: 306.1 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/2.949, allocations: 92.45 kB / 1.122 GB, free: 306 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.002e-05/2.949, allocations: 43.98 kB / 1.122 GB, free: 306 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009516/2.95, allocations: 0.8547 MB / 1.123 GB, free: 305.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 2e-07/2.95, allocations: 0 / 1.123 GB, free: 305.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005203/2.955, allocations: 2.301 MB / 1.126 GB, free: 303.1 MB / 0.795 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 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCheckValve1.ouvert,idealCheckValve1.touvert,idealCheckValve1.tferme,idealCheckValve2.ouvert,idealCheckValve2.touvert,idealCheckValve2.tferme,$whenCondition7,$whenCondition6,$whenCondition5,pulse.T0,idealCheckValve3.ouvert,idealCheckValve3.touvert,idealCheckValve3.tferme) * Number of discrete states: 6 (idealCheckValve3.touvert,idealCheckValve3.tferme,idealCheckValve1.touvert,idealCheckValve1.tferme,idealCheckValve2.touvert,idealCheckValve2.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 66 * 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 {(8,33), (3,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008257/2.963, allocations: 2.938 MB / 1.128 GB, free: 300.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002549/2.966, allocations: 1.445 MB / 1.13 GB, free: 299.2 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/2.966, allocations: 1.188 kB / 1.13 GB, free: 299.2 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/2.967, allocations: 0.6393 MB / 1.13 GB, free: 298.5 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/2.969, allocations: 327.7 kB / 1.131 GB, free: 298.2 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005107/2.974, allocations: 4.361 MB / 1.135 GB, free: 293.8 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007599/2.974, allocations: 1.435 MB / 1.136 GB, free: 292.4 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/2.975, allocations: 135.4 kB / 1.137 GB, free: 292.2 MB / 0.795 GB Notification: Performance of SimCode: time 5.51e-07/2.975, allocations: 0 / 1.137 GB, free: 292.2 MB / 0.795 GB Notification: Performance of Templates: time 0.06397/3.039, allocations: 65.37 MB / 1.2 GB, free: 227.7 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealCheckValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestIdealCheckValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealCheckValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealCheckValveCalcHelperMain.o] Error 1