Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.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.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6886/0.6886, allocations: 150.8 MB / 166.7 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.108e-05/2.116e-05, allocations: 7.984 kB / 205.4 MB, free: 10.22 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1149, allocations: 31.98 MB / 237.4 MB, free: 5.41 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.TestControlValve): time 1.305/1.42, allocations: 293.7 MB / 0.5186 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0361/1.456, allocations: 37.34 MB / 0.5551 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/1.457, allocations: 4 kB / 0.5551 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/1.457, allocations: 135.4 kB / 0.5552 GB, free: 8.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/1.457, allocations: 139.3 kB / 0.5553 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01469/1.472, allocations: 7.417 MB / 0.5626 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003732/1.472, allocations: 362.3 kB / 0.5629 GB, free: 272 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/1.472, allocations: 110 kB / 0.563 GB, free: 164 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/1.473, allocations: 143.3 kB / 0.5632 GB, free: 20 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/1.473, allocations: 151.3 kB / 0.5633 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/1.473, allocations: 8 kB / 0.5633 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02264/1.495, allocations: 17.88 MB / 0.5808 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.342e-05/1.496, allocations: 67.7 kB / 0.5808 GB, free: 13.89 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/1.496, allocations: 164.8 kB / 0.581 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006022/1.502, allocations: 5.695 MB / 0.5866 GB, free: 8.016 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.502, allocations: 4 kB / 0.5866 GB, free: 8.012 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.062e-06/1.502, allocations: 0 / 0.5866 GB, free: 8.012 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/1.502, allocations: 0 / 0.5866 GB, free: 8.012 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.003174/1.505, allocations: 1.462 MB / 0.588 GB, free: 6.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/1.505, allocations: 12.03 kB / 0.588 GB, free: 6.488 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/1.505, allocations: 39.47 kB / 0.588 GB, free: 6.449 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/1.505, allocations: 302 kB / 0.5883 GB, free: 6.117 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/1.505, allocations: 12.44 kB / 0.5883 GB, free: 6.102 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/1.505, allocations: 20 kB / 0.5884 GB, free: 6.082 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/1.506, allocations: 333.1 kB / 0.5887 GB, free: 5.734 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/1.506, allocations: 3.938 kB / 0.5887 GB, free: 5.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/1.506, allocations: 4 kB / 0.5887 GB, free: 5.727 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/1.506, allocations: 12 kB / 0.5887 GB, free: 5.715 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002545/1.506, allocations: 216.9 kB / 0.5889 GB, free: 5.504 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.0321/1.538, allocations: 18.24 MB / 0.6067 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/1.538, allocations: 138.5 kB / 0.6068 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/1.538, allocations: 112.8 kB / 0.6069 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1331/1.672, allocations: 77.93 MB / 0.6831 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/1.672, allocations: 38.56 kB / 0.6831 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/1.672, allocations: 0 / 0.6831 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0009187/1.673, allocations: 0.4953 MB / 0.6836 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/1.673, allocations: 51.41 kB / 0.6836 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/1.673, allocations: 368.3 kB / 0.684 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/1.673, allocations: 25.7 kB / 0.684 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/1.673, allocations: 184.5 kB / 0.6842 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/1.673, allocations: 110.3 kB / 0.6843 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/1.673, allocations: 33.7 kB / 0.6843 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.673, allocations: 342.8 kB / 0.6846 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/1.673, allocations: 91.97 kB / 0.6847 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/1.674, allocations: 145.3 kB / 0.6849 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/1.674, allocations: 248.5 kB / 0.6851 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.674, allocations: 0 / 0.6851 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004069/1.674, allocations: 349.5 kB / 0.6854 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/1.674, allocations: 4 kB / 0.6854 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.674, allocations: 3.938 kB / 0.6854 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007764/1.675, allocations: 172.8 kB / 0.6856 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/1.675, allocations: 19.94 kB / 0.6856 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004461/1.676, allocations: 0.6069 MB / 0.6862 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/1.676, allocations: 27.59 kB / 0.6862 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/1.676, allocations: 8 kB / 0.6863 GB, free: 7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (ControlValve.C2.b,ControlValve.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 (13): * Single equations (assignments): 10 * 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.0001281/1.676, allocations: 153.9 kB / 0.6864 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/1.676, allocations: 39.56 kB / 0.6864 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007143/1.677, allocations: 0.6472 MB / 0.6871 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003828/1.677, allocations: 262.3 kB / 0.6873 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.677, allocations: 0 / 0.6873 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/1.677, allocations: 0 / 0.6873 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009092/1.678, allocations: 0.8332 MB / 0.6881 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.678, allocations: 0 / 0.6881 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/1.678, allocations: 19.94 kB / 0.6882 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004477/1.679, allocations: 137.3 kB / 0.6883 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/1.679, allocations: 0 / 0.6883 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004166/1.679, allocations: 0.6436 MB / 0.6889 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/1.679, allocations: 0 / 0.6889 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004359/1.679, allocations: 388.7 kB / 0.6893 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/1.68, allocations: 140.6 kB / 0.6894 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/1.68, allocations: 8 kB / 0.6894 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/1.68, allocations: 14.69 kB / 0.6894 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/1.68, allocations: 11.92 kB / 0.6895 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/1.68, allocations: 4 kB / 0.6895 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000299/1.68, allocations: 331.1 kB / 0.6898 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.68, allocations: 4 kB / 0.6898 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002032/1.682, allocations: 1.202 MB / 0.691 GB, free: 1.977 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003975/1.686, allocations: 1.785 MB / 0.6927 GB, free: 196 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.131/1.817, allocations: 274.1 kB / 0.693 GB, free: 227.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.817, allocations: 0.6562 kB / 0.693 GB, free: 227.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002771/1.817, allocations: 123.2 kB / 0.6931 GB, free: 227.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/1.818, allocations: 122.9 kB / 0.6932 GB, free: 227.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008565/1.819, allocations: 0.8309 MB / 0.694 GB, free: 227.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/1.819, allocations: 0.8032 MB / 0.6948 GB, free: 226.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/1.819, allocations: 24.06 kB / 0.6948 GB, free: 226.8 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/1.819, allocations: 1.438 kB / 0.6948 GB, free: 226.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.02776/1.847, allocations: 25.53 MB / 0.7197 GB, free: 220.3 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.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.SimpleExamples.TestControlValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValveCalcHelperMain.o] Error 1