Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7842/0.7842, allocations: 150.9 MB / 166.6 MB, free: 14.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002829/0.0002829, allocations: 11.98 kB / 204.7 MB, free: 10.11 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1747, 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.Examples.SimpleExamples.TestStaticWaterWaterExchanger): time 1.572/1.746, allocations: 294.2 MB / 0.5178 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.031/1.777, allocations: 25.94 MB / 0.5431 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004259/1.778, allocations: 4 kB / 0.5431 GB, free: 2.551 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:81:3-83:42:writable] Warning: Connector Ec 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/HeatExchangers/StaticWaterWaterExchanger.mo:84:3-86:38:writable] Warning: Connector Ef 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/HeatExchangers/StaticWaterWaterExchanger.mo:87:3-89:37:writable] Warning: Connector Sf 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/HeatExchangers/StaticWaterWaterExchanger.mo:90:3-92:37:writable] Warning: Connector Sc 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/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). Notification: Performance of NFTyping.typeComponents: time 0.0004895/1.778, allocations: 136 kB / 0.5432 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004666/1.779, allocations: 230.3 kB / 0.5435 GB, free: 2.191 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01598/1.795, allocations: 5.262 MB / 0.5486 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001325/1.796, allocations: 0.9216 MB / 0.5495 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/1.796, allocations: 261.8 kB / 0.5497 GB, free: 11.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000365/1.797, allocations: 342.4 kB / 0.5501 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/1.797, allocations: 318.5 kB / 0.5504 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.634e-05/1.797, allocations: 32 kB / 0.5504 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0224/1.82, allocations: 15.19 MB / 0.5652 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001834/1.82, allocations: 111.5 kB / 0.5653 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004556/1.82, allocations: 342.2 kB / 0.5657 GB, free: 11.42 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007257/1.828, allocations: 4.557 MB / 0.5701 GB, free: 6.855 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/1.828, allocations: 4 kB / 0.5701 GB, free: 6.852 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.637e-06/1.828, allocations: 3.984 kB / 0.5701 GB, free: 6.848 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/1.828, allocations: 0 / 0.5701 GB, free: 6.848 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004565/1.832, allocations: 1.536 MB / 0.5716 GB, free: 5.262 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/1.832, allocations: 12.03 kB / 0.5716 GB, free: 5.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/1.832, allocations: 68.09 kB / 0.5717 GB, free: 5.184 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/1.833, allocations: 337.8 kB / 0.572 GB, free: 4.816 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/1.833, allocations: 134.1 kB / 0.5722 GB, free: 4.668 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/1.833, allocations: 40 kB / 0.5722 GB, free: 4.629 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/1.834, allocations: 0.7796 MB / 0.573 GB, free: 3.805 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/1.834, allocations: 7.938 kB / 0.573 GB, free: 3.797 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/1.834, allocations: 20 kB / 0.573 GB, free: 3.777 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/1.834, allocations: 46.53 kB / 0.573 GB, free: 3.734 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/1.835, allocations: 0.5748 MB / 0.5736 GB, free: 3.16 MB / 462.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.06651/1.902, allocations: 36.42 MB / 0.6092 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/1.903, allocations: 0.5397 MB / 0.6097 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005763/1.904, allocations: 362.7 kB / 0.61 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06555/1.969, allocations: 33.59 MB / 0.6428 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/1.969, allocations: 38.56 kB / 0.6429 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=126): time 7.404e-06/1.969, allocations: 0 / 0.6429 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=126): time 0.01699/1.986, allocations: 3.292 MB / 0.6461 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/1.986, allocations: 55.41 kB / 0.6461 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/1.987, allocations: 332.4 kB / 0.6465 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/1.987, allocations: 33.7 kB / 0.6465 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/1.987, allocations: 221.2 kB / 0.6467 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/1.987, allocations: 409.8 kB / 0.6471 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/1.988, allocations: 134 kB / 0.6472 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.988, allocations: 370.8 kB / 0.6476 GB, free: 276 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/1.988, allocations: 277.6 kB / 0.6478 GB, free: 0 / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006412/1.989, allocations: 397.1 kB / 0.6482 GB, free: 15.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/1.99, allocations: 0.7147 MB / 0.6489 GB, free: 14.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.99, allocations: 3.938 kB / 0.6489 GB, free: 14.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004176/1.994, allocations: 1.283 MB / 0.6502 GB, free: 13.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/1.994, allocations: 4 kB / 0.6502 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/1.994, allocations: 4 kB / 0.6502 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003758/1.998, allocations: 1.382 MB / 0.6515 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/1.998, allocations: 19.98 kB / 0.6515 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/2.001, allocations: 1.385 MB / 0.6529 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004651/2.001, allocations: 90.95 kB / 0.653 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-05/2.001, allocations: 23.98 kB / 0.653 GB, free: 10.61 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (puitsP3.C.a,puitsP2.C.a,sourceP3.C.b,sourceP2.C.b,plateHeatExchanger.Sc.b,plateHeatExchanger.Sf.b,plateHeatExchanger.Ef.a,plateHeatExchanger.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0002516/2.001, allocations: 181 kB / 0.6532 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/2.001, allocations: 55.25 kB / 0.6532 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00383/2.005, allocations: 3.959 MB / 0.6571 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002558/2.008, allocations: 1.302 MB / 0.6584 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/2.008, allocations: 0 / 0.6584 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/2.008, allocations: 3.984 kB / 0.6584 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006489/2.014, allocations: 2.922 MB / 0.6612 GB, free: 1.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/2.014, allocations: 3.938 kB / 0.6612 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/2.015, allocations: 95.84 kB / 0.6613 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003451/2.018, allocations: 1.43 MB / 0.6627 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-05/2.018, allocations: 19.98 kB / 0.6627 GB, free: 432 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/2.02, allocations: 1.483 MB / 0.6642 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/2.02, allocations: 4.188 kB / 0.6642 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004441/2.025, allocations: 1.514 MB / 0.6657 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/2.025, allocations: 152 kB / 0.6658 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/2.025, allocations: 35.78 kB / 0.6659 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/2.025, allocations: 43.81 kB / 0.6659 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/2.026, allocations: 52.92 kB / 0.6659 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/2.026, allocations: 27.92 kB / 0.666 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004094/2.026, allocations: 391.1 kB / 0.6663 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/2.026, allocations: 0 / 0.6663 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002648/2.029, allocations: 1.046 MB / 0.6674 GB, free: 11.61 MB / 0.5606 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 (62): * Single equations (assignments): 61 * 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 {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004602/2.033, allocations: 1.198 MB / 0.6685 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00227/2.036, allocations: 1.143 MB / 0.6697 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/2.036, allocations: 3.938 kB / 0.6697 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/2.037, allocations: 0.5237 MB / 0.6702 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/2.039, allocations: 413.8 kB / 0.6706 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/2.041, allocations: 1.94 MB / 0.6725 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/2.042, allocations: 0.9909 MB / 0.6734 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/2.042, allocations: 51.42 kB / 0.6735 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of SimCode: time 4.3e-07/2.042, allocations: 0 / 0.6735 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of Templates: time 0.2241/2.266, allocations: 28.53 MB / 0.7013 GB, free: 224.5 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.TestStaticWaterWaterExchangerCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerCalcHelperMain.o] Error 1