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.8418/0.8418, allocations: 150.8 MB / 166.6 MB, free: 14.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003091, allocations: 15.98 kB / 204.6 MB, free: 10.13 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1972, allocations: 31.33 MB / 236 MB, free: 5.695 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestControlValve): time 1.766/1.963, allocations: 292.7 MB / 0.5163 GB, free: 14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04363/2.007, allocations: 37.92 MB / 0.5533 GB, free: 8.211 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/2.007, allocations: 3.938 kB / 0.5533 GB, free: 8.207 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:45:3-47:43:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:48:3-50:38:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005007/2.008, allocations: 131.5 kB / 0.5534 GB, free: 8.078 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/2.008, allocations: 139.2 kB / 0.5536 GB, free: 7.941 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02557/2.033, allocations: 7.277 MB / 0.5607 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000643/2.034, allocations: 362.4 kB / 0.561 GB, free: 316 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003107/2.034, allocations: 130.6 kB / 0.5612 GB, free: 188 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003193/2.035, allocations: 139.3 kB / 0.5613 GB, free: 48 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/2.035, allocations: 163.4 kB / 0.5614 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/2.035, allocations: 12 kB / 0.5615 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03233/2.067, allocations: 17.81 MB / 0.5788 GB, free: 14.04 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/2.068, allocations: 67.7 kB / 0.5789 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/2.068, allocations: 167 kB / 0.5791 GB, free: 13.81 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/2.079, allocations: 5.77 MB / 0.5847 GB, free: 8.027 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/2.079, allocations: 0 / 0.5847 GB, free: 8.027 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.142e-06/2.079, allocations: 4 kB / 0.5847 GB, free: 8.023 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/2.079, allocations: 0 / 0.5847 GB, free: 8.023 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.004368/2.083, allocations: 1.52 MB / 0.5862 GB, free: 6.453 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/2.084, allocations: 12.03 kB / 0.5862 GB, free: 6.441 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.785e-05/2.084, allocations: 43.38 kB / 0.5862 GB, free: 6.398 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/2.084, allocations: 286.2 kB / 0.5865 GB, free: 6.082 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/2.084, allocations: 20.44 kB / 0.5865 GB, free: 6.059 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/2.084, allocations: 19.94 kB / 0.5866 GB, free: 6.039 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/2.084, allocations: 315.4 kB / 0.5869 GB, free: 5.707 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/2.084, allocations: 7.938 kB / 0.5869 GB, free: 5.699 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/2.084, allocations: 4 kB / 0.5869 GB, free: 5.695 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/2.084, allocations: 23.98 kB / 0.5869 GB, free: 5.672 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/2.085, allocations: 209 kB / 0.5871 GB, free: 5.469 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.03457/2.119, allocations: 18.12 MB / 0.6048 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/2.12, allocations: 150.5 kB / 0.6049 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/2.12, allocations: 108.8 kB / 0.605 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.142/2.262, allocations: 77.28 MB / 0.6805 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/2.262, allocations: 30.56 kB / 0.6805 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/2.262, allocations: 0 / 0.6805 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.001206/2.263, allocations: 0.4953 MB / 0.681 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/2.263, allocations: 55.41 kB / 0.6811 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/2.264, allocations: 356.5 kB / 0.6814 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/2.264, allocations: 25.7 kB / 0.6814 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/2.264, allocations: 184.4 kB / 0.6816 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.084e-05/2.264, allocations: 110.4 kB / 0.6817 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.214e-05/2.264, allocations: 53.59 kB / 0.6818 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001192/2.264, allocations: 350.7 kB / 0.6821 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/2.264, allocations: 91.97 kB / 0.6822 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/2.264, allocations: 133.2 kB / 0.6823 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/2.265, allocations: 248.5 kB / 0.6825 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/2.265, allocations: 0 / 0.6825 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004972/2.265, allocations: 349.5 kB / 0.6829 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/2.265, allocations: 4 kB / 0.6829 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/2.265, allocations: 4.125 kB / 0.6829 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008158/2.266, allocations: 133.8 kB / 0.683 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.814e-05/2.266, allocations: 23.88 kB / 0.683 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005623/2.267, allocations: 0.6148 MB / 0.6836 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/2.267, allocations: 27.59 kB / 0.6837 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/2.267, allocations: 8 kB / 0.6837 GB, free: 7.762 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.0001596/2.267, allocations: 155 kB / 0.6838 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/2.267, allocations: 43.55 kB / 0.6839 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007785/2.268, allocations: 0.6434 MB / 0.6845 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000403/2.268, allocations: 262.4 kB / 0.6847 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/2.268, allocations: 0 / 0.6847 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/2.268, allocations: 0 / 0.6847 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/2.269, allocations: 0.8335 MB / 0.6856 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/2.269, allocations: 0 / 0.6856 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/2.269, allocations: 24 kB / 0.6856 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004639/2.27, allocations: 116.7 kB / 0.6857 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/2.27, allocations: 0 / 0.6857 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005007/2.27, allocations: 0.6436 MB / 0.6863 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/2.27, allocations: 0 / 0.6863 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/2.271, allocations: 384.9 kB / 0.6867 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/2.271, allocations: 132.5 kB / 0.6868 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/2.271, allocations: 7.906 kB / 0.6868 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/2.271, allocations: 7.938 kB / 0.6868 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/2.271, allocations: 11.92 kB / 0.6868 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/2.271, allocations: 9.734 kB / 0.6868 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003381/2.272, allocations: 331.1 kB / 0.6872 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/2.272, allocations: 4 kB / 0.6872 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003432/2.275, allocations: 1.202 MB / 0.6883 GB, free: 2.766 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.006503/2.282, allocations: 1.8 MB / 0.6901 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006019/2.282, allocations: 282.4 kB / 0.6904 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/2.282, allocations: 0 / 0.6904 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002748/2.283, allocations: 115.9 kB / 0.6905 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007392/2.283, allocations: 127.4 kB / 0.6906 GB, free: 460 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2091/2.492, allocations: 0.8031 MB / 0.6914 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/2.493, allocations: 0.802 MB / 0.6922 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.192e-05/2.493, allocations: 30.19 kB / 0.6922 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.274e-06/2.493, allocations: 0 / 0.6922 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.04048/2.533, allocations: 26.1 MB / 0.7177 GB, free: 218.4 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