Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.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.TestStaticPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6994/0.6994, allocations: 150.8 MB / 166.7 MB, free: 15.44 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.357e-05/1.358e-05, allocations: 4 kB / 205.4 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1221, allocations: 31.98 MB / 237.4 MB, free: 5.438 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.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger): time 1.359/1.482, allocations: 295.6 MB / 0.5205 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4034/1.885, allocations: 187.4 MB / 0.7035 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000534/1.885, allocations: 17.75 kB / 0.7036 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004198/1.886, allocations: 128.2 kB / 0.7037 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007959/1.887, allocations: 295 kB / 0.704 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02077/1.907, allocations: 9.152 MB / 0.7129 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001037/1.909, allocations: 1.071 MB / 0.7139 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/1.909, allocations: 397.3 kB / 0.7143 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003018/1.909, allocations: 381 kB / 0.7147 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/1.909, allocations: 376.5 kB / 0.715 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/1.91, allocations: 34.38 kB / 0.7151 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02553/1.935, allocations: 19.53 MB / 0.7341 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001924/1.935, allocations: 132.8 kB / 0.7343 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004766/1.936, allocations: 457.5 kB / 0.7347 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007488/1.943, allocations: 6.989 MB / 0.7415 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/1.943, allocations: 2.906 kB / 0.7415 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/1.943, allocations: 0 / 0.7415 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.466e-06/1.943, allocations: 1.859 kB / 0.7415 GB, free: 0.7812 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.0037/1.947, allocations: 2.09 MB / 0.7436 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/1.947, allocations: 8.25 kB / 0.7436 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/1.947, allocations: 104.3 kB / 0.7437 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/1.948, allocations: 460.1 kB / 0.7441 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/1.948, allocations: 156.2 kB / 0.7443 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.267e-05/1.948, allocations: 78.92 kB / 0.7444 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/1.949, allocations: 0.9238 MB / 0.7453 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/1.949, allocations: 0 / 0.7453 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.837e-05/1.949, allocations: 35.03 kB / 0.7453 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/1.949, allocations: 31.14 kB / 0.7453 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/1.95, allocations: 0.6788 MB / 0.746 GB, free: 14.56 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.01366/1.964, allocations: 12.85 MB / 0.7585 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009133/1.965, allocations: 461.1 kB / 0.759 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004284/1.965, allocations: 271.7 kB / 0.7592 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07877/2.044, allocations: 52.56 MB / 0.8105 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/2.044, allocations: 34.25 kB / 0.8106 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=88): time 2.034e-06/2.044, allocations: 0 / 0.8106 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88): time 0.01508/2.059, allocations: 3.183 MB / 0.8137 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/2.059, allocations: 59.41 kB / 0.8137 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/2.06, allocations: 0.4933 MB / 0.8142 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/2.06, allocations: 29.52 kB / 0.8143 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/2.06, allocations: 393.5 kB / 0.8146 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/2.06, allocations: 286.7 kB / 0.8149 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.943e-05/2.06, allocations: 81.14 kB / 0.815 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001171/2.06, allocations: 376.3 kB / 0.8153 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004744/2.061, allocations: 233.8 kB / 0.8156 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005641/2.061, allocations: 428.7 kB / 0.816 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/2.062, allocations: 0.7101 MB / 0.8167 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/2.062, allocations: 4 kB / 0.8167 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.0024/2.065, allocations: 1.115 MB / 0.8178 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/2.065, allocations: 8 kB / 0.8178 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/2.065, allocations: 4 kB / 0.8178 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00271/2.068, allocations: 0.9465 MB / 0.8187 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/2.068, allocations: 69.47 kB / 0.8188 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/2.07, allocations: 1.418 MB / 0.8201 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/2.07, allocations: 98.17 kB / 0.8202 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/2.07, allocations: 35.36 kB / 0.8203 GB, free: 7.66 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 (sourceP3.C.ftype,sourceP2.C.ftype,plateHeatExchanger.fluid_c,plateHeatExchanger.fluid_f,puitsP2.fluid,puitsP3.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 (38): * Single equations (assignments): 37 * 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 {(4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.000221/2.07, allocations: 195.8 kB / 0.8205 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-05/2.071, allocations: 70.97 kB / 0.8205 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/2.073, allocations: 1.783 MB / 0.8223 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001722/2.075, allocations: 1.22 MB / 0.8235 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/2.075, allocations: 4 kB / 0.8235 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/2.075, allocations: 3.984 kB / 0.8235 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006341/2.081, allocations: 3.069 MB / 0.8265 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/2.081, allocations: 3.984 kB / 0.8265 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/2.081, allocations: 92.97 kB / 0.8266 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002553/2.084, allocations: 1.001 MB / 0.8275 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/2.084, allocations: 23.48 kB / 0.8276 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/2.086, allocations: 1.506 MB / 0.829 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/2.086, allocations: 3.984 kB / 0.829 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004487/2.09, allocations: 1.63 MB / 0.8306 GB, free: 15.87 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/2.09, allocations: 246.3 kB / 0.8309 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/2.09, allocations: 11.56 kB / 0.8309 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/2.091, allocations: 41.45 kB / 0.8309 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.164e-05/2.091, allocations: 50.8 kB / 0.831 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/2.091, allocations: 25.61 kB / 0.831 GB, free: 15.55 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003151/2.091, allocations: 358 kB / 0.8313 GB, free: 15.28 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/2.091, allocations: 4 kB / 0.8313 GB, free: 15.27 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003019/2.094, allocations: 1.581 MB / 0.8329 GB, free: 13.8 MB / 0.67 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 {(4,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004471/2.099, allocations: 2.291 MB / 0.8351 GB, free: 11.84 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001684/2.1, allocations: 1.103 MB / 0.8362 GB, free: 10.99 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/2.1, allocations: 4.312 kB / 0.8362 GB, free: 10.99 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009114/2.101, allocations: 0.5131 MB / 0.8367 GB, free: 10.64 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/2.103, allocations: 391.8 kB / 0.8371 GB, free: 10.34 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/2.106, allocations: 2.3 MB / 0.8393 GB, free: 8.223 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/2.106, allocations: 1.054 MB / 0.8403 GB, free: 7.137 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/2.106, allocations: 60.81 kB / 0.8404 GB, free: 7.078 MB / 0.67 GB Notification: Performance of SimCode: time 2.5e-07/2.106, allocations: 0 / 0.8404 GB, free: 7.078 MB / 0.67 GB Notification: Performance of Templates: time 0.04113/2.147, allocations: 37.59 MB / 0.8771 GB, free: 1.719 MB / 0.7012 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.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.TestStaticPlateHeatExchangerCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchangerCalcHelperMain.o] Error 1