Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve.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.TestThreeWayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6924/0.6924, allocations: 150.8 MB / 166.7 MB, free: 15.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 9.798e-06/9.888e-06, allocations: 0 / 205.4 MB, free: 9.812 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1174, allocations: 31.97 MB / 237.4 MB, free: 5.469 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.TestThreeWayValve): time 1.315/1.433, allocations: 295.5 MB / 0.5205 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03617/1.469, allocations: 37.89 MB / 0.5575 GB, free: 5.738 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/1.469, allocations: 8 kB / 0.5575 GB, free: 5.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/1.469, allocations: 167 kB / 0.5576 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003974/1.47, allocations: 262.1 kB / 0.5579 GB, free: 5.309 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01482/1.485, allocations: 7.602 MB / 0.5653 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008124/1.485, allocations: 0.9843 MB / 0.5663 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003761/1.486, allocations: 379.1 kB / 0.5666 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003159/1.486, allocations: 322.3 kB / 0.5669 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/1.486, allocations: 310.2 kB / 0.5672 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/1.486, allocations: 24 kB / 0.5672 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02225/1.509, allocations: 17.82 MB / 0.5847 GB, free: 9.859 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/1.509, allocations: 123.3 kB / 0.5848 GB, free: 9.738 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003448/1.509, allocations: 407.5 kB / 0.5852 GB, free: 9.332 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006366/1.516, allocations: 6.178 MB / 0.5912 GB, free: 3.137 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.516, allocations: 8 kB / 0.5912 GB, free: 3.129 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.252e-06/1.516, allocations: 0 / 0.5912 GB, free: 3.129 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/1.516, allocations: 0 / 0.5912 GB, free: 3.129 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003063/1.519, allocations: 1.832 MB / 0.593 GB, free: 1.246 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/1.519, allocations: 12.03 kB / 0.593 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/1.519, allocations: 90.88 kB / 0.5931 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/1.519, allocations: 452.2 kB / 0.5935 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/1.519, allocations: 45.31 kB / 0.5936 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.816e-05/1.519, allocations: 63.94 kB / 0.5936 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/1.52, allocations: 0.8645 MB / 0.5945 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/1.52, allocations: 7.875 kB / 0.5945 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.431e-05/1.521, allocations: 28 kB / 0.5945 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.738e-05/1.521, allocations: 35.97 kB / 0.5945 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008175/1.521, allocations: 0.5669 MB / 0.5951 GB, free: 14.98 MB / 494.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.04915/1.571, allocations: 29.76 MB / 0.6242 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005921/1.571, allocations: 388.1 kB / 0.6245 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/1.572, allocations: 275 kB / 0.6248 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2658/1.837, allocations: 77.94 MB / 0.7009 GB, free: 218.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/1.837, allocations: 34.77 kB / 0.7009 GB, free: 218.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=91): time 3.346e-06/1.837, allocations: 0 / 0.7009 GB, free: 218.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91): time 0.002886/1.84, allocations: 1.297 MB / 0.7022 GB, free: 218.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/1.84, allocations: 83.53 kB / 0.7023 GB, free: 218.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005147/1.841, allocations: 0.504 MB / 0.7028 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/1.841, allocations: 30.8 kB / 0.7028 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/1.841, allocations: 339.8 kB / 0.7031 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/1.841, allocations: 298 kB / 0.7034 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.441e-05/1.841, allocations: 76.14 kB / 0.7035 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.299e-05/1.841, allocations: 380.1 kB / 0.7038 GB, free: 217.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/1.842, allocations: 216.9 kB / 0.704 GB, free: 217.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/1.842, allocations: 370.3 kB / 0.7044 GB, free: 217.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007656/1.843, allocations: 0.6369 MB / 0.705 GB, free: 217.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.843, allocations: 5.719 kB / 0.705 GB, free: 217.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001342/1.844, allocations: 0.9008 MB / 0.7059 GB, free: 217.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/1.844, allocations: 8.562 kB / 0.7059 GB, free: 217.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.844, allocations: 5.766 kB / 0.7059 GB, free: 217.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002786/1.847, allocations: 0.9826 MB / 0.7069 GB, free: 217.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/1.847, allocations: 39.02 kB / 0.7069 GB, free: 217.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/1.848, allocations: 1.093 MB / 0.708 GB, free: 216.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/1.848, allocations: 82.75 kB / 0.7081 GB, free: 216.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/1.849, allocations: 25.92 kB / 0.7081 GB, free: 216.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 14 (PuitsP2.C.a,threeWayValve.PerteDP1.C2.b,threeWayValve.PerteDP1.C1.a,threeWayValve.VolumeA1.Cs2.b,threeWayValve.VolumeA1.Cs1.b,threeWayValve.VolumeA1.Ce2.a,threeWayValve.VolumeA1.Ce1.a,threeWayValve.Valve2.C2.b,threeWayValve.Valve2.C1.a,threeWayValve.Valve1.C2.b,threeWayValve.Valve1.C1.a,PuitsP1.C.a,SourceP1.C.b,threeWayValve.VolumeA1.Ce2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(7,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000206/1.849, allocations: 233 kB / 0.7083 GB, free: 216.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/1.849, allocations: 63.5 kB / 0.7084 GB, free: 216.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/1.851, allocations: 2.157 MB / 0.7105 GB, free: 216.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009956/1.852, allocations: 0.8134 MB / 0.7113 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.852, allocations: 0 / 0.7113 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/1.852, allocations: 7.453 kB / 0.7113 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/1.854, allocations: 2.159 MB / 0.7134 GB, free: 215.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.854, allocations: 0 / 0.7134 GB, free: 215.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/1.854, allocations: 84.19 kB / 0.7135 GB, free: 215.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/1.856, allocations: 0.7354 MB / 0.7142 GB, free: 215.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/1.856, allocations: 12.16 kB / 0.7142 GB, free: 215.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008037/1.856, allocations: 1.031 MB / 0.7152 GB, free: 215.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.856, allocations: 3.359 kB / 0.7152 GB, free: 215.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/1.858, allocations: 1.303 MB / 0.7165 GB, free: 214.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/1.858, allocations: 241.4 kB / 0.7167 GB, free: 214.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.698e-05/1.858, allocations: 17.88 kB / 0.7167 GB, free: 214.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/1.858, allocations: 31.97 kB / 0.7168 GB, free: 214.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/1.858, allocations: 40.92 kB / 0.7168 GB, free: 214.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/1.859, allocations: 18.97 kB / 0.7168 GB, free: 214.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003682/1.859, allocations: 466 kB / 0.7173 GB, free: 214.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.41e-07/1.859, allocations: 2.719 kB / 0.7173 GB, free: 214.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002395/1.861, allocations: 1.322 MB / 0.7186 GB, free: 214.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (threeWayValve.VolumeA1.h) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(6,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004105/1.865, allocations: 1.764 MB / 0.7203 GB, free: 214.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001191/1.867, allocations: 0.8648 MB / 0.7211 GB, free: 214.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.867, allocations: 0.7812 kB / 0.7211 GB, free: 214.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000648/1.867, allocations: 407.1 kB / 0.7215 GB, free: 214.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/1.869, allocations: 328.1 kB / 0.7218 GB, free: 214.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/1.871, allocations: 2.056 MB / 0.7238 GB, free: 213.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/1.871, allocations: 1.011 MB / 0.7248 GB, free: 212.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/1.871, allocations: 43.38 kB / 0.7249 GB, free: 212.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/1.871, allocations: 0 / 0.7249 GB, free: 212.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.02782/1.899, allocations: 33.39 MB / 0.7575 GB, free: 190.2 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve.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.TestThreeWayValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValveCalcHelperMain.o] Error 1