Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.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.TestFixedPowerHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9252/0.9252, allocations: 150.9 MB / 166.6 MB, free: 14.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 11.98 kB / 204.7 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2456, allocations: 31.33 MB / 236 MB, free: 5.438 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.TestFixedPowerHeatExchanger): time 1.926/2.172, allocations: 294 MB / 0.5176 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2472/2.419, allocations: 187 MB / 0.7002 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006372/2.42, allocations: 15.94 kB / 0.7003 GB, free: 1.09 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:35:3-36:54: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/FixedPowerHeatExchanger.mo:37:3-38: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/FixedPowerHeatExchanger.mo:39:3-40: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/FixedPowerHeatExchanger.mo:41:3-42:52: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/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). [/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). Notification: Performance of NFTyping.typeComponents: time 0.0005329/2.42, allocations: 120.2 kB / 0.7004 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005882/2.421, allocations: 230.3 kB / 0.7006 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.5083/2.929, allocations: 8.369 MB / 0.7088 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001612/2.931, allocations: 0.7763 MB / 0.7095 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005949/2.931, allocations: 369.1 kB / 0.7099 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005929/2.932, allocations: 321.6 kB / 0.7102 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/2.932, allocations: 315 kB / 0.7105 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.475e-05/2.932, allocations: 52.19 kB / 0.7105 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04383/2.976, allocations: 19.46 MB / 0.7295 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003471/2.977, allocations: 127.6 kB / 0.7297 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008254/2.978, allocations: 369.7 kB / 0.73 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01789/2.995, allocations: 6.866 MB / 0.7367 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/2.996, allocations: 0 / 0.7367 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.956e-06/2.996, allocations: 2.906 kB / 0.7367 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.218e-05/2.996, allocations: 0 / 0.7367 GB, free: 2.836 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.008182/3.004, allocations: 2.025 MB / 0.7387 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/3.004, allocations: 8.562 kB / 0.7387 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/3.004, allocations: 88.59 kB / 0.7388 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/3.004, allocations: 416.1 kB / 0.7392 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.002e-05/3.005, allocations: 52.31 kB / 0.7392 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.054e-05/3.005, allocations: 62.25 kB / 0.7393 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009659/3.006, allocations: 0.7026 MB / 0.74 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/3.006, allocations: 10.48 kB / 0.74 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/3.006, allocations: 22.62 kB / 0.74 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/3.006, allocations: 30.27 kB / 0.74 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006383/3.006, allocations: 435.9 kB / 0.7405 GB, free: 0.9141 MB / 0.5762 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.01845/3.025, allocations: 11.95 MB / 0.7521 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/3.025, allocations: 142.2 kB / 0.7523 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/3.025, allocations: 94.45 kB / 0.7523 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.155/3.18, allocations: 76.93 MB / 0.8275 GB, free: 9.879 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.497e-05/3.18, allocations: 38.5 kB / 0.8275 GB, free: 9.832 MB / 0.67 GB Notification: Performance of pre-optimization done (n=46): time 3.446e-06/3.18, allocations: 0 / 0.8275 GB, free: 9.832 MB / 0.67 GB Notification: Performance of matching and sorting (n=46): time 0.001156/3.182, allocations: 334.3 kB / 0.8278 GB, free: 9.594 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/3.182, allocations: 84 kB / 0.8279 GB, free: 9.496 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007734/3.182, allocations: 0.4899 MB / 0.8284 GB, free: 9.105 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/3.182, allocations: 33.98 kB / 0.8284 GB, free: 9.07 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003685/3.183, allocations: 352.1 kB / 0.8288 GB, free: 8.793 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/3.183, allocations: 157.7 kB / 0.8289 GB, free: 8.66 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/3.183, allocations: 104.5 kB / 0.829 GB, free: 8.586 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002083/3.183, allocations: 359.6 kB / 0.8294 GB, free: 8.246 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/3.184, allocations: 98.06 kB / 0.8294 GB, free: 8.188 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/3.184, allocations: 291.4 kB / 0.8297 GB, free: 7.891 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/3.185, allocations: 419.8 kB / 0.8301 GB, free: 7.535 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/3.185, allocations: 4.125 kB / 0.8301 GB, free: 7.531 MB / 0.67 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008497/3.186, allocations: 471.5 kB / 0.8306 GB, free: 7.207 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/3.186, allocations: 8 kB / 0.8306 GB, free: 7.199 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/3.186, allocations: 8 kB / 0.8306 GB, free: 7.191 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/3.186, allocations: 10.91 kB / 0.8306 GB, free: 7.184 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/3.186, allocations: 69.88 kB / 0.8307 GB, free: 7.121 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/3.186, allocations: 8 kB / 0.8307 GB, free: 7.113 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/3.186, allocations: 74.48 kB / 0.8307 GB, free: 7.047 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/3.186, allocations: 27.73 kB / 0.8308 GB, free: 7.027 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (sourceP3.C.ftype,plateHeatExchanger.fluid_f,puitsP3.fluid,sourceP2.C.ftype,plateHeatExchanger.fluid_c,puitsP2.fluid,sourceP3.fluid1,sourceP2.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): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003091/3.187, allocations: 184.6 kB / 0.8309 GB, free: 6.879 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/3.187, allocations: 55.28 kB / 0.831 GB, free: 6.824 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000965/3.188, allocations: 0.6414 MB / 0.8316 GB, free: 6.391 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005874/3.188, allocations: 455.3 kB / 0.8321 GB, free: 6.078 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/3.188, allocations: 0 / 0.8321 GB, free: 6.078 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/3.188, allocations: 7.984 kB / 0.8321 GB, free: 6.07 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/3.191, allocations: 1.551 MB / 0.8336 GB, free: 4.844 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/3.191, allocations: 4 kB / 0.8336 GB, free: 4.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/3.191, allocations: 74.09 kB / 0.8337 GB, free: 4.773 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/3.191, allocations: 0 / 0.8337 GB, free: 4.773 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/3.191, allocations: 7.812 kB / 0.8337 GB, free: 4.77 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/3.191, allocations: 11.12 kB / 0.8337 GB, free: 4.762 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/3.191, allocations: 12.11 kB / 0.8337 GB, free: 4.75 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008959/3.192, allocations: 0.6885 MB / 0.8344 GB, free: 4.184 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/3.192, allocations: 173.2 kB / 0.8345 GB, free: 4.012 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.096e-05/3.192, allocations: 15 kB / 0.8345 GB, free: 4.004 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/3.192, allocations: 19.64 kB / 0.8346 GB, free: 3.988 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/3.193, allocations: 36.11 kB / 0.8346 GB, free: 3.961 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/3.193, allocations: 8 kB / 0.8346 GB, free: 3.953 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004613/3.193, allocations: 343.3 kB / 0.8349 GB, free: 3.695 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/3.193, allocations: 0 / 0.8349 GB, free: 3.695 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008076/3.201, allocations: 1.484 MB / 0.8364 GB, free: 2.312 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009516/3.211, allocations: 2.23 MB / 0.8386 GB, free: 432 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00102/3.212, allocations: 0.5661 MB / 0.8391 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/3.212, allocations: 0 / 0.8391 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00028/3.212, allocations: 234.5 kB / 0.8393 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/3.214, allocations: 284 kB / 0.8396 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/3.216, allocations: 1.642 MB / 0.8412 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/3.216, allocations: 0.9621 MB / 0.8421 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/3.217, allocations: 55.44 kB / 0.8422 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of SimCode: time 2.044e-06/3.217, allocations: 0 / 0.8422 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of Templates: time 0.05384/3.27, allocations: 31.7 MB / 0.8732 GB, free: 13.57 MB / 0.7169 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.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.TestFixedPowerHeatExchangerCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchangerCalcHelperMain.o] Error 1