Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.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.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8607/0.8607, allocations: 150.9 MB / 166.6 MB, free: 14.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.000318, allocations: 15.98 kB / 204.7 MB, free: 10.13 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1849, allocations: 31.33 MB / 236 MB, free: 5.465 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.TestSimpleStaticCondenser): time 1.736/1.921, allocations: 294.7 MB / 0.5183 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6052/2.526, allocations: 191.1 MB / 0.7048 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007999/2.527, allocations: 16.47 kB / 0.7048 GB, free: 3.824 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:65:3-66:55:writable] Warning: Connector Ec 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/HeatExchangers/SimpleStaticCondenser.mo:67:3-68:54:writable] Warning: Connector Ef 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/HeatExchangers/SimpleStaticCondenser.mo:69:3-70:51:writable] Warning: Connector Sf 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/HeatExchangers/SimpleStaticCondenser.mo:71:3-72:53:writable] Warning: Connector Sc 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/SourceP.mo:58:3-59:65: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/SinkP.mo:46:3-47:67: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.0007207/2.528, allocations: 159.3 kB / 0.705 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007984/2.528, allocations: 292.9 kB / 0.7053 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03704/2.566, allocations: 9.014 MB / 0.7141 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001582/2.567, allocations: 0.9782 MB / 0.715 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004699/2.568, allocations: 400.2 kB / 0.7154 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004455/2.568, allocations: 383.1 kB / 0.7158 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004014/2.568, allocations: 375 kB / 0.7161 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.72e-05/2.569, allocations: 51.72 kB / 0.7162 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03878/2.607, allocations: 20.11 MB / 0.7358 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003871/2.608, allocations: 144.4 kB / 0.736 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009101/2.609, allocations: 443.5 kB / 0.7364 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01764/2.626, allocations: 7.159 MB / 0.7434 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/2.626, allocations: 3 kB / 0.7434 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.013e-06/2.626, allocations: 2.062 kB / 0.7434 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.313e-05/2.626, allocations: 0 / 0.7434 GB, free: 1.121 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.007694/2.634, allocations: 2.191 MB / 0.7455 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/2.634, allocations: 12.38 kB / 0.7455 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/2.634, allocations: 93.84 kB / 0.7456 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005905/2.635, allocations: 441.2 kB / 0.746 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.339e-05/2.635, allocations: 57.77 kB / 0.7461 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.292e-05/2.635, allocations: 65.12 kB / 0.7462 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/2.636, allocations: 0.8283 MB / 0.747 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/2.636, allocations: 1.156 kB / 0.747 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-05/2.636, allocations: 29.5 kB / 0.747 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/2.636, allocations: 28.98 kB / 0.747 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000779/2.637, allocations: 0.5361 MB / 0.7476 GB, free: 15.07 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.01702/2.654, allocations: 12.4 MB / 0.7597 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005192/2.655, allocations: 273 kB / 0.7599 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/2.655, allocations: 192.1 kB / 0.7601 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1007/2.756, allocations: 53.93 MB / 0.8128 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/2.756, allocations: 30.56 kB / 0.8128 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=86): time 2.715e-06/2.756, allocations: 0 / 0.8128 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86): time 0.002124/2.758, allocations: 0.9458 MB / 0.8137 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/2.758, allocations: 62.83 kB / 0.8138 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006651/2.759, allocations: 482.7 kB / 0.8142 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/2.759, allocations: 33.45 kB / 0.8143 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/2.759, allocations: 371.7 kB / 0.8146 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/2.759, allocations: 285.6 kB / 0.8149 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/2.759, allocations: 131.9 kB / 0.815 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001496/2.76, allocations: 372.6 kB / 0.8154 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/2.76, allocations: 174.5 kB / 0.8155 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/2.76, allocations: 362.8 kB / 0.8159 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007076/2.761, allocations: 0.5881 MB / 0.8165 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/2.761, allocations: 7.562 kB / 0.8165 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001252/2.762, allocations: 0.747 MB / 0.8172 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/2.762, allocations: 4 kB / 0.8172 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/2.762, allocations: 8.625 kB / 0.8172 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001732/2.764, allocations: 335.1 kB / 0.8175 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/2.764, allocations: 65.62 kB / 0.8176 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/2.765, allocations: 1.293 MB / 0.8189 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/2.766, allocations: 84.75 kB / 0.8189 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/2.766, allocations: 27.86 kB / 0.819 GB, free: 8.648 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 8 (sourceP1.C.ftype,sourceP.C.ftype,simpleStaticCondenser.fluid_c,simpleStaticCondenser.fluid_f,sinkP.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(2,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002974/2.766, allocations: 202.8 kB / 0.8192 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/2.766, allocations: 67.16 kB / 0.8192 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/2.768, allocations: 1.824 MB / 0.821 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009459/2.769, allocations: 0.8051 MB / 0.8218 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/2.769, allocations: 128 / 0.8218 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/2.769, allocations: 7.984 kB / 0.8218 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/2.772, allocations: 2.217 MB / 0.824 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/2.772, allocations: 4 kB / 0.824 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/2.772, allocations: 97.67 kB / 0.8241 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/2.773, allocations: 275.1 kB / 0.8243 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/2.773, allocations: 14.25 kB / 0.8243 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/2.774, allocations: 1.346 MB / 0.8257 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/2.774, allocations: 4.062 kB / 0.8257 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/2.775, allocations: 0.9802 MB / 0.8266 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/2.776, allocations: 212.6 kB / 0.8268 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.329e-05/2.776, allocations: 21.97 kB / 0.8268 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/2.776, allocations: 18.69 kB / 0.8269 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.291e-05/2.776, allocations: 43.83 kB / 0.8269 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/2.776, allocations: 15.75 kB / 0.8269 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004859/2.777, allocations: 403.5 kB / 0.8273 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.7e-07/2.777, allocations: 3 kB / 0.8273 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005716/2.782, allocations: 1.499 MB / 0.8288 GB, free: 0.707 MB / 0.6544 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 (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009412/2.792, allocations: 2.205 MB / 0.8309 GB, free: 14.86 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001702/2.794, allocations: 0.9422 MB / 0.8318 GB, free: 14.12 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/2.794, allocations: 0 / 0.8318 GB, free: 14.12 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006786/2.794, allocations: 409.5 kB / 0.8322 GB, free: 13.88 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/2.797, allocations: 394.7 kB / 0.8326 GB, free: 13.56 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/2.8, allocations: 2.089 MB / 0.8346 GB, free: 11.64 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007102/2.801, allocations: 1.047 MB / 0.8357 GB, free: 10.56 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/2.801, allocations: 59.44 kB / 0.8357 GB, free: 10.5 MB / 0.67 GB Notification: Performance of SimCode: time 6.91e-07/2.801, allocations: 4 kB / 0.8357 GB, free: 10.5 MB / 0.67 GB Notification: Performance of Templates: time 0.07437/2.875, allocations: 42.03 MB / 0.8768 GB, free: 0.7031 MB / 0.7012 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.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.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenserCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenserCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenserCalcHelperMain.o] Error 1