Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating1.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.TestNTUWaterHeating1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6865/0.6865, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.56e-05/1.565e-05, allocations: 7.984 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 31.98 MB / 237.4 MB, free: 5.418 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating1): time 1.324/1.443, allocations: 297.5 MB / 0.5223 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03921/1.483, allocations: 39.92 MB / 0.5613 GB, free: 1.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003452/1.483, allocations: 11.94 kB / 0.5613 GB, free: 1.758 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004349/1.484, allocations: 234.5 kB / 0.5616 GB, free: 1.527 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006804/1.484, allocations: 436.8 kB / 0.562 GB, free: 1.098 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01643/1.501, allocations: 7.851 MB / 0.5696 GB, free: 9.242 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001396/1.502, allocations: 1.661 MB / 0.5713 GB, free: 7.574 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004443/1.503, allocations: 456.4 kB / 0.5717 GB, free: 7.129 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005354/1.503, allocations: 0.5597 MB / 0.5722 GB, free: 6.566 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004092/1.503, allocations: 0.4895 MB / 0.5727 GB, free: 6.074 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/1.504, allocations: 44 kB / 0.5728 GB, free: 6.031 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02107/1.525, allocations: 15.93 MB / 0.5883 GB, free: 6.078 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/1.525, allocations: 163.1 kB / 0.5885 GB, free: 5.918 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005535/1.525, allocations: 0.6117 MB / 0.5891 GB, free: 5.297 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006112/1.531, allocations: 6.077 MB / 0.595 GB, free: 15.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/1.531, allocations: 8 kB / 0.595 GB, free: 15.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/1.531, allocations: 0 / 0.595 GB, free: 15.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/1.532, allocations: 0 / 0.595 GB, free: 15.2 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 407 * Number of variables: 407 Notification: Performance of Generate backend data structure: time 0.003528/1.535, allocations: 2.1 MB / 0.5971 GB, free: 13.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/1.535, allocations: 8.031 kB / 0.5971 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/1.535, allocations: 134.2 kB / 0.5972 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/1.536, allocations: 488.5 kB / 0.5977 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/1.536, allocations: 184.8 kB / 0.5978 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9e-05/1.536, allocations: 80 kB / 0.5979 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/1.538, allocations: 1.395 MB / 0.5993 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/1.538, allocations: 11.88 kB / 0.5993 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.073e-05/1.538, allocations: 39.98 kB / 0.5993 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.044e-05/1.538, allocations: 71.92 kB / 0.5994 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/1.539, allocations: 1.012 MB / 0.6004 GB, free: 9.484 MB / 494.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.004492/1.544, allocations: 6.398 MB / 0.6066 GB, free: 2.527 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/1.545, allocations: 0.8484 MB / 0.6075 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007504/1.545, allocations: 0.7041 MB / 0.6082 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1442/1.69, allocations: 81.18 MB / 0.6874 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/1.69, allocations: 39 kB / 0.6875 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=247): time 2.594e-06/1.69, allocations: 0 / 0.6875 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=247): time 0.007334/1.697, allocations: 3.756 MB / 0.6911 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/1.697, allocations: 55.84 kB / 0.6912 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/1.697, allocations: 498.6 kB / 0.6917 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/1.697, allocations: 37.7 kB / 0.6917 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/1.698, allocations: 326.9 kB / 0.692 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004223/1.698, allocations: 0.7849 MB / 0.6928 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/1.698, allocations: 145.8 kB / 0.6929 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000102/1.698, allocations: 337.9 kB / 0.6932 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000691/1.699, allocations: 0.5064 MB / 0.6937 GB, free: 284 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1371/1.836, allocations: 0.7385 MB / 0.6945 GB, free: 226.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/1.838, allocations: 1.422 MB / 0.6959 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/1.838, allocations: 1.156 kB / 0.6959 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.002525/1.84, allocations: 2.034 MB / 0.6978 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1.84, allocations: 7.094 kB / 0.6978 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/1.84, allocations: 9.766 kB / 0.6979 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004043/1.844, allocations: 2.541 MB / 0.7003 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/1.844, allocations: 27.77 kB / 0.7004 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/1.847, allocations: 3.734 MB / 0.704 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/1.848, allocations: 161.4 kB / 0.7042 GB, free: 224.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/1.848, allocations: 32.48 kB / 0.7042 GB, free: 224.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 20 (Source_condenseur1.C.b,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,nTUWaterHeating.Ev.a,nTUWaterHeating.Sp.b,nTUWaterHeating.Ep.a,nTUWaterHeating.Se.b,nTUWaterHeating.Ee.a,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,Puit_condenseur1.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,sourceP.C.b,Puit_condenseur.C.a,Source_condenseur.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,3), (1,3), (1,3), (11,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0002802/1.848, allocations: 250.8 kB / 0.7044 GB, free: 224 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.552e-05/1.848, allocations: 99.22 kB / 0.7045 GB, free: 224 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002964/1.851, allocations: 3.15 MB / 0.7076 GB, free: 223.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00234/1.853, allocations: 2.408 MB / 0.71 GB, free: 223.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.853, allocations: 3.938 kB / 0.71 GB, free: 223.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/1.854, allocations: 9.734 kB / 0.71 GB, free: 223.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005633/1.859, allocations: 5.804 MB / 0.7156 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.859, allocations: 7.469 kB / 0.7156 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/1.86, allocations: 172.5 kB / 0.7158 GB, free: 222 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003422/1.863, allocations: 2.685 MB / 0.7184 GB, free: 221.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/1.863, allocations: 30.97 kB / 0.7185 GB, free: 221.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00249/1.866, allocations: 3.869 MB / 0.7222 GB, free: 218.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.866, allocations: 6.375 kB / 0.7222 GB, free: 218.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/1.868, allocations: 2.688 MB / 0.7249 GB, free: 217.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/1.868, allocations: 359.3 kB / 0.7252 GB, free: 217.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/1.869, allocations: 28.81 kB / 0.7252 GB, free: 217.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/1.869, allocations: 69.84 kB / 0.7253 GB, free: 217.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.869, allocations: 104.3 kB / 0.7254 GB, free: 217.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/1.869, allocations: 39.94 kB / 0.7254 GB, free: 217.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002766/1.869, allocations: 380.8 kB / 0.7258 GB, free: 217 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.869, allocations: 2.281 kB / 0.7258 GB, free: 217 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002363/1.872, allocations: 1.368 MB / 0.7271 GB, free: 216.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (111): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,3), (1,3), (1,3), (11,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003222/1.875, allocations: 1.688 MB / 0.7288 GB, free: 216.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002501/1.878, allocations: 2.194 MB / 0.7309 GB, free: 215.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.878, allocations: 5.781 kB / 0.7309 GB, free: 215.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/1.879, allocations: 1.281 MB / 0.7322 GB, free: 214.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/1.882, allocations: 0.6832 MB / 0.7329 GB, free: 214.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/1.885, allocations: 3.635 MB / 0.7364 GB, free: 211.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/1.886, allocations: 1.273 MB / 0.7377 GB, free: 210.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.042e-05/1.886, allocations: 71.44 kB / 0.7377 GB, free: 210.7 MB / 0.5762 GB Notification: Performance of SimCode: time 7.42e-07/1.886, allocations: 0 / 0.7377 GB, free: 210.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.03823/1.924, allocations: 57.39 MB / 0.7938 GB, free: 156 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating1.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.TestNTUWaterHeating1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating1CalcHelperMain.o] Error 1