Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 99.67 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 175.1 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.2 MB / 240.6 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7722/0.7722, allocations: 132.3 MB / 424 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 9.875 kB / 0.504 GB, free: 4.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5186/0.519, allocations: 81.58 MB / 0.5837 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2358/0.7549, allocations: 195.2 MB / 0.7742 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01089/0.7658, allocations: 6.633 MB / 0.7807 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.7674, allocations: 39.69 kB / 0.7808 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.7691, allocations: 0.4928 MB / 0.7812 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005518/0.7746, allocations: 1.784 MB / 0.783 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002794/0.7775, allocations: 0.9081 MB / 0.7839 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004392/0.7819, allocations: 3.183 MB / 0.787 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.7833, allocations: 0.8074 MB / 0.7878 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003846/0.7871, allocations: 1.525 MB / 0.7893 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.7887, allocations: 0.8599 MB / 0.7901 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.7889, allocations: 48 kB / 0.7901 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/0.7925, allocations: 1.543 MB / 0.7916 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004148/0.7929, allocations: 338.8 kB / 0.792 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004494/0.7934, allocations: 269.1 kB / 0.7922 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.7957, allocations: 1.703 MB / 0.7939 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7957, allocations: 11.88 kB / 0.7939 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7957, allocations: 0 / 0.7939 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.999e-05/0.7958, allocations: 0 / 0.7939 GB, free: 8.77 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003883/0.7996, allocations: 1.61 MB / 0.7955 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.7997, allocations: 12.03 kB / 0.7955 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/0.8026, allocations: 0.576 MB / 0.7961 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.8044, allocations: 0.9297 MB / 0.797 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005475/0.805, allocations: 201.8 kB / 0.7972 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.8051, allocations: 84 kB / 0.7972 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.8078, allocations: 1.264 MB / 0.7985 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.8078, allocations: 4 kB / 0.7985 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.8079, allocations: 36 kB / 0.7985 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.09e-05/0.808, allocations: 49.94 kB / 0.7986 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003448/0.8114, allocations: 1.616 MB / 0.8001 GB, free: 2.281 MB / 0.6231 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.006311/0.8178, allocations: 4.084 MB / 0.8041 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.82, allocations: 1.046 MB / 0.8051 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.8214, allocations: 0.6904 MB / 0.8058 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.8225, allocations: 0.6398 MB / 0.8064 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/0.8225, allocations: 47.16 kB / 0.8065 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.975e-06/0.8226, allocations: 0 / 0.8065 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004591/0.8272, allocations: 1.91 MB / 0.8083 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.8272, allocations: 60.06 kB / 0.8084 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.8283, allocations: 0.8153 MB / 0.8092 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.8284, allocations: 49.64 kB / 0.8092 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.8287, allocations: 444.6 kB / 0.8097 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.829, allocations: 256.2 kB / 0.8099 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.829, allocations: 16 kB / 0.8099 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.8292, allocations: 329.9 kB / 0.8102 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.8305, allocations: 0.5641 MB / 0.8108 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.8319, allocations: 0.6988 MB / 0.8115 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.8332, allocations: 0.6178 MB / 0.8121 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.8332, allocations: 0 / 0.8121 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003084/0.8363, allocations: 1.423 MB / 0.8135 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.8364, allocations: 152.8 kB / 0.8136 GB, free: 3.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.8365, allocations: 4 kB / 0.8136 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.8365, allocations: 8.031 kB / 0.8136 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.8379, allocations: 283.6 kB / 0.8139 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006956/0.8386, allocations: 1.191 MB / 0.8151 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.8398, allocations: 199.2 kB / 0.8153 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.665e-05/0.8399, allocations: 35.97 kB / 0.8153 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.8399, allocations: 6.031 kB / 0.8153 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002862/0.8428, allocations: 1.317 MB / 0.8166 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.8428, allocations: 4.062 kB / 0.8166 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.8428, allocations: 4 kB / 0.8166 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.8439, allocations: 255.6 kB / 0.8168 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.844, allocations: 7.938 kB / 0.8168 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.845, allocations: 203.1 kB / 0.817 GB, free: 388 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/0.8451, allocations: 31.97 kB / 0.8171 GB, free: 356 kB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.368/1.213, allocations: 367.3 kB / 0.8174 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004537/1.214, allocations: 102.8 kB / 0.8175 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00402/1.218, allocations: 1.437 MB / 0.8189 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/1.218, allocations: 12.22 kB / 0.8189 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.218, allocations: 0.9062 kB / 0.8189 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/1.218, allocations: 3.844 kB / 0.8189 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006067/1.224, allocations: 2.917 MB / 0.8218 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/1.224, allocations: 4.422 kB / 0.8218 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/1.225, allocations: 249.5 kB / 0.822 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.737e-05/1.225, allocations: 9.438 kB / 0.822 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.533e-05/1.225, allocations: 23.89 kB / 0.8221 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004185/1.226, allocations: 1.199 MB / 0.8232 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.226, allocations: 3.25 kB / 0.8232 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/1.229, allocations: 1.536 MB / 0.8247 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000585/1.23, allocations: 311.7 kB / 0.825 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/1.23, allocations: 16.41 kB / 0.825 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/1.231, allocations: 167.4 kB / 0.8252 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/1.231, allocations: 66.41 kB / 0.8253 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.294e-05/1.231, allocations: 34.83 kB / 0.8253 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009796/1.232, allocations: 0.5613 MB / 0.8258 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/1.232, allocations: 0 / 0.8258 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001693/1.234, allocations: 0.5326 MB / 0.8264 GB, free: 215.6 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006215/1.235, allocations: 268.1 kB / 0.8266 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005185/1.24, allocations: 2.146 MB / 0.8287 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.24, allocations: 1.156 kB / 0.8287 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/1.242, allocations: 0.7002 MB / 0.8294 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/1.244, allocations: 0.5138 MB / 0.8299 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/1.249, allocations: 2.53 MB / 0.8324 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/1.249, allocations: 1.09 MB / 0.8334 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004534/1.25, allocations: 104.9 kB / 0.8335 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of SimCode: time 8.42e-07/1.25, allocations: 1.281 kB / 0.8335 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of Templates: time 0.03439/1.284, allocations: 26.74 MB / 0.8597 GB, free: 193.6 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile make -j1 -f IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectivenessCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectivenessCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectivenessCalcHelperMain.o] Error 1