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.8274/0.8274, allocations: 150.8 MB / 166.6 MB, free: 14.74 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003211, allocations: 15.97 kB / 204.7 MB, free: 10.14 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1787, allocations: 31.33 MB / 236 MB, free: 5.449 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.TestStaticPlateHeatExchanger): time 1.703/1.881, allocations: 294.7 MB / 0.5183 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.546/2.427, allocations: 189.6 MB / 0.7034 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006858/2.428, allocations: 17 kB / 0.7035 GB, free: 3.73 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticPlateHeatExchanger.mo:91:3-92: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/StaticPlateHeatExchanger.mo:93:3-94: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/StaticPlateHeatExchanger.mo:95:3-96:52: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/StaticPlateHeatExchanger.mo:97:3-98:51: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.0005505/2.429, allocations: 137 kB / 0.7036 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006714/2.429, allocations: 289.4 kB / 0.7039 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03118/2.461, allocations: 8.924 MB / 0.7126 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002249/2.463, allocations: 1.077 MB / 0.7136 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005032/2.463, allocations: 443.1 kB / 0.7141 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004905/2.464, allocations: 419.7 kB / 0.7145 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000432/2.464, allocations: 430.2 kB / 0.7149 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.931e-05/2.464, allocations: 57.19 kB / 0.7149 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03699/2.501, allocations: 19.42 MB / 0.7339 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004501/2.502, allocations: 166.2 kB / 0.734 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009298/2.503, allocations: 464 kB / 0.7345 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0147/2.518, allocations: 7.108 MB / 0.7414 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/2.518, allocations: 2.5 kB / 0.7414 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.193e-06/2.518, allocations: 0 / 0.7414 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.07e-05/2.518, allocations: 0 / 0.7414 GB, free: 1.406 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.007276/2.525, allocations: 2.248 MB / 0.7436 GB, free: 40 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/2.525, allocations: 10.12 kB / 0.7436 GB, free: 40 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002541/2.525, allocations: 104.5 kB / 0.7437 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000634/2.526, allocations: 469.7 kB / 0.7442 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/2.526, allocations: 149.9 kB / 0.7443 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.418e-05/2.526, allocations: 75.38 kB / 0.7444 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/2.528, allocations: 0.9186 MB / 0.7453 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/2.528, allocations: 1.781 kB / 0.7453 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.004e-05/2.528, allocations: 31.06 kB / 0.7453 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/2.528, allocations: 35.05 kB / 0.7454 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/2.529, allocations: 0.6664 MB / 0.746 GB, free: 15.17 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.01727/2.546, allocations: 12.83 MB / 0.7585 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/2.547, allocations: 451.6 kB / 0.759 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004799/2.548, allocations: 264.9 kB / 0.7592 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0908/2.639, allocations: 52.22 MB / 0.8102 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/2.639, allocations: 37.5 kB / 0.8102 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=88): time 2.976e-06/2.639, allocations: 0 / 0.8102 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88): time 0.01683/2.656, allocations: 3.017 MB / 0.8132 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/2.656, allocations: 62.31 kB / 0.8133 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008356/2.657, allocations: 0.4943 MB / 0.8137 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/2.657, allocations: 29.27 kB / 0.8138 GB, free: 12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000398/2.657, allocations: 391.3 kB / 0.8141 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/2.657, allocations: 287.7 kB / 0.8144 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/2.658, allocations: 151 kB / 0.8146 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001896/2.658, allocations: 378.7 kB / 0.8149 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005799/2.658, allocations: 232.4 kB / 0.8151 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007587/2.659, allocations: 422.3 kB / 0.8155 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/2.661, allocations: 0.7072 MB / 0.8162 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/2.661, allocations: 4 kB / 0.8162 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002889/2.663, allocations: 1.101 MB / 0.8173 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/2.663, allocations: 4 kB / 0.8173 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/2.664, allocations: 8 kB / 0.8173 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003213/2.667, allocations: 0.9487 MB / 0.8182 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/2.667, allocations: 65.88 kB / 0.8183 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/2.669, allocations: 1.394 MB / 0.8197 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006436/2.67, allocations: 97.66 kB / 0.8198 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/2.67, allocations: 35.36 kB / 0.8198 GB, free: 7.098 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.000421/2.671, allocations: 202.2 kB / 0.82 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/2.671, allocations: 71.08 kB / 0.8201 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00269/2.673, allocations: 1.765 MB / 0.8218 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002117/2.676, allocations: 1.205 MB / 0.823 GB, free: 5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/2.676, allocations: 0 / 0.823 GB, free: 5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/2.676, allocations: 7.984 kB / 0.823 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007997/2.684, allocations: 3.045 MB / 0.8259 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/2.684, allocations: 0 / 0.8259 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/2.684, allocations: 93.25 kB / 0.826 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003075/2.687, allocations: 0.9952 MB / 0.827 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.011e-05/2.687, allocations: 13.75 kB / 0.827 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/2.689, allocations: 1.499 MB / 0.8285 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/2.689, allocations: 0 / 0.8285 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005287/2.695, allocations: 1.604 MB / 0.83 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004907/2.695, allocations: 236.7 kB / 0.8303 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/2.695, allocations: 15.56 kB / 0.8303 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005196/2.696, allocations: 35.14 kB / 0.8303 GB, free: 15.17 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/2.696, allocations: 59.8 kB / 0.8304 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.273e-05/2.696, allocations: 29.92 kB / 0.8304 GB, free: 15.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005912/2.697, allocations: 356.9 kB / 0.8307 GB, free: 14.82 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.31e-07/2.697, allocations: 0 / 0.8307 GB, free: 14.82 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00607/2.703, allocations: 1.58 MB / 0.8323 GB, free: 13.36 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.01003/2.713, allocations: 2.316 MB / 0.8345 GB, free: 11.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002741/2.716, allocations: 1.096 MB / 0.8356 GB, free: 10.28 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/2.716, allocations: 0 / 0.8356 GB, free: 10.28 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/2.717, allocations: 0.5235 MB / 0.8361 GB, free: 9.777 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/2.719, allocations: 385 kB / 0.8365 GB, free: 9.402 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/2.723, allocations: 2.247 MB / 0.8387 GB, free: 7.133 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007593/2.724, allocations: 1.058 MB / 0.8397 GB, free: 6.047 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/2.724, allocations: 59.44 kB / 0.8398 GB, free: 5.988 MB / 0.67 GB Notification: Performance of SimCode: time 1.243e-06/2.724, allocations: 4 kB / 0.8398 GB, free: 5.984 MB / 0.67 GB Notification: Performance of Templates: time 0.064/2.788, allocations: 38.55 MB / 0.8774 GB, free: 15.47 MB / 0.7169 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