Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.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.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.899/0.899, allocations: 150.9 MB / 166.6 MB, free: 14.33 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003099, allocations: 15.97 kB / 204.7 MB, free: 9.648 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2205, allocations: 31.33 MB / 236 MB, free: 5.473 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.Fluid.Examples.SimpleExamples.TestAirHumidity): time 1.865/2.086, allocations: 293.3 MB / 0.5169 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6958/2.781, allocations: 190.1 MB / 0.7025 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004952/2.782, allocations: 8.781 kB / 0.7025 GB, free: 3.93 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/AirHumidity.mo:39:3-40:54:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/AirHumidity.mo:47:3-48:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004827/2.782, allocations: 94.78 kB / 0.7026 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004276/2.783, allocations: 146.7 kB / 0.7028 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0346/2.818, allocations: 9.024 MB / 0.7116 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001059/2.819, allocations: 0.5454 MB / 0.7121 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004046/2.819, allocations: 293.8 kB / 0.7124 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/2.819, allocations: 222.5 kB / 0.7126 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/2.82, allocations: 242.4 kB / 0.7128 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.485e-05/2.82, allocations: 35.94 kB / 0.7129 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04737/2.867, allocations: 21.85 MB / 0.7342 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003133/2.867, allocations: 95.98 kB / 0.7343 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005512/2.868, allocations: 263.7 kB / 0.7346 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01818/2.886, allocations: 7.198 MB / 0.7416 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/2.886, allocations: 0 / 0.7416 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.793e-06/2.886, allocations: 0 / 0.7416 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.808e-06/2.886, allocations: 0 / 0.7416 GB, free: 0.9062 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007689/2.894, allocations: 1.943 MB / 0.7435 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/2.894, allocations: 8.531 kB / 0.7435 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/2.894, allocations: 59.14 kB / 0.7436 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/2.895, allocations: 331.3 kB / 0.7439 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.538e-05/2.895, allocations: 40 kB / 0.7439 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.298e-05/2.895, allocations: 51.19 kB / 0.744 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008918/2.896, allocations: 0.552 MB / 0.7445 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/2.896, allocations: 0 / 0.7445 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/2.896, allocations: 25.53 kB / 0.7445 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/2.896, allocations: 13.53 kB / 0.7445 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006452/2.896, allocations: 360.9 kB / 0.7449 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00301/2.899, allocations: 2.936 MB / 0.7477 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/2.9, allocations: 153.6 kB / 0.7479 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/2.9, allocations: 88.42 kB / 0.748 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3378/3.238, allocations: 182.2 MB / 0.9259 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/3.238, allocations: 36.81 kB / 0.926 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 3.106e-06/3.238, allocations: 0 / 0.926 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.002081/3.24, allocations: 0.6425 MB / 0.9266 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/3.24, allocations: 55.03 kB / 0.9266 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006237/3.241, allocations: 340 kB / 0.927 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/3.241, allocations: 32.86 kB / 0.927 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/3.241, allocations: 265.4 kB / 0.9272 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.681e-05/3.241, allocations: 90.25 kB / 0.9273 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/3.241, allocations: 81.59 kB / 0.9274 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001368/3.241, allocations: 344.5 kB / 0.9277 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/3.242, allocations: 79.22 kB / 0.9278 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/3.242, allocations: 204.6 kB / 0.928 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/3.242, allocations: 314.8 kB / 0.9283 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/3.242, allocations: 1.203 kB / 0.9283 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001129/3.244, allocations: 456.8 kB / 0.9287 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/3.244, allocations: 5.25 kB / 0.9287 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/3.244, allocations: 4 kB / 0.9288 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/3.245, allocations: 260.8 kB / 0.929 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/3.245, allocations: 43.94 kB / 0.929 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/3.246, allocations: 1.249 MB / 0.9303 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/3.246, allocations: 56.48 kB / 0.9303 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/3.246, allocations: 22.19 kB / 0.9303 GB, free: 7.297 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 (sourceFlueGasesPQ.fluid1,sourceFlueGasesPQ.C.ftype,airHumidity.fluid,singularPressureLoss.fluid,sinkFlueGases.fluid,singularPressureLoss.C2.diff_on_1,airHumidity.C1.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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 {(1,3), (4,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002546/3.247, allocations: 158.4 kB / 0.9305 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.218e-05/3.247, allocations: 36.92 kB / 0.9305 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/3.248, allocations: 0.4957 MB / 0.931 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006973/3.249, allocations: 354.4 kB / 0.9313 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/3.249, allocations: 0 / 0.9313 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/3.249, allocations: 3.984 kB / 0.9313 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/3.25, allocations: 1.026 MB / 0.9323 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/3.25, allocations: 0 / 0.9323 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.696e-05/3.25, allocations: 18.91 kB / 0.9324 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008667/3.251, allocations: 270.3 kB / 0.9326 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/3.251, allocations: 9.5 kB / 0.9326 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/3.252, allocations: 1.257 MB / 0.9339 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/3.252, allocations: 8.094 kB / 0.9339 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008394/3.253, allocations: 492.9 kB / 0.9343 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/3.253, allocations: 114.6 kB / 0.9344 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/3.254, allocations: 6.375 kB / 0.9345 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/3.254, allocations: 21.42 kB / 0.9345 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/3.254, allocations: 13.19 kB / 0.9345 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/3.254, allocations: 15.17 kB / 0.9345 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002788/3.254, allocations: 222.1 kB / 0.9347 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/3.254, allocations: 0 / 0.9347 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005958/3.26, allocations: 1.515 MB / 0.9362 GB, free: 2.066 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 14 * 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 {(1,3), (4,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01102/3.271, allocations: 2.321 MB / 0.9385 GB, free: 96 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001307/3.272, allocations: 363.7 kB / 0.9388 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/3.273, allocations: 0 / 0.9388 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006164/3.273, allocations: 182.2 kB / 0.939 GB, free: 15.7 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009744/3.274, allocations: 136.6 kB / 0.9391 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/3.276, allocations: 0.9705 MB / 0.9401 GB, free: 14.65 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/3.276, allocations: 0.8235 MB / 0.9409 GB, free: 13.8 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.981e-05/3.277, allocations: 31.44 kB / 0.9409 GB, free: 13.77 MB / 0.795 GB Notification: Performance of SimCode: time 8.01e-07/3.277, allocations: 7.938 kB / 0.9409 GB, free: 13.76 MB / 0.795 GB Notification: Performance of Templates: time 0.06189/3.338, allocations: 33.63 MB / 0.9737 GB, free: 12.25 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.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.TestAirHumidityCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidityCalcHelperMain.o] Error 1