Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008192/0.0008244, allocations: 102.7 kB / 15.71 MB, free: 460 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.0009984/0.0009983, allocations: 177.3 kB / 16.58 MB, free: 6.863 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.511/1.511, allocations: 223.2 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.026/1.026, allocations: 135.3 MB / 427 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003291, allocations: 15.03 kB / 0.5076 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1834, allocations: 82.3 MB / 0.588 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5904/0.7738, allocations: 195.1 MB / 0.7785 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01111/0.785, allocations: 6.624 MB / 0.785 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.7868, allocations: 39.69 kB / 0.785 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.7886, allocations: 0.4967 MB / 0.7855 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005599/0.7943, allocations: 1.781 MB / 0.7873 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.797, allocations: 0.9055 MB / 0.7882 GB, free: 68 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004185/0.8012, allocations: 3.202 MB / 0.7913 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.8026, allocations: 0.7903 MB / 0.7921 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004014/0.8066, allocations: 1.529 MB / 0.7935 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.8082, allocations: 0.8598 MB / 0.7944 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.8084, allocations: 48 kB / 0.7944 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003768/0.8122, allocations: 1.54 MB / 0.7959 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004261/0.8126, allocations: 342.8 kB / 0.7963 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004484/0.8131, allocations: 269.1 kB / 0.7965 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.8154, allocations: 1.711 MB / 0.7982 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8154, allocations: 0 / 0.7982 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8155, allocations: 0 / 0.7982 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.8155, allocations: 0 / 0.7982 GB, free: 5.75 MB / 0.6075 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.003831/0.8193, allocations: 1.616 MB / 0.7998 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.8194, allocations: 8.031 kB / 0.7998 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002834/0.8222, allocations: 0.5877 MB / 0.8004 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.8239, allocations: 0.922 MB / 0.8013 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005619/0.8244, allocations: 201.8 kB / 0.8014 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.8246, allocations: 84 kB / 0.8015 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002593/0.8272, allocations: 1.271 MB / 0.8028 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.8272, allocations: 0 / 0.8028 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-05/0.8273, allocations: 35.98 kB / 0.8028 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.487e-05/0.8274, allocations: 49.94 kB / 0.8028 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003448/0.8308, allocations: 1.608 MB / 0.8044 GB, free: 15.26 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.006055/0.8369, allocations: 4.096 MB / 0.8084 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/0.8392, allocations: 1.04 MB / 0.8094 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.8406, allocations: 0.6943 MB / 0.8101 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.8416, allocations: 0.6399 MB / 0.8107 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.8417, allocations: 43.22 kB / 0.8108 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.655e-06/0.8417, allocations: 7.875 kB / 0.8108 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.0045/0.8462, allocations: 1.906 MB / 0.8126 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.8463, allocations: 60.06 kB / 0.8127 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009998/0.8473, allocations: 0.8192 MB / 0.8135 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.024e-05/0.8474, allocations: 41.7 kB / 0.8135 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.8477, allocations: 436.6 kB / 0.814 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.8479, allocations: 260.2 kB / 0.8142 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.848, allocations: 16 kB / 0.8142 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.8481, allocations: 337.9 kB / 0.8145 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.8494, allocations: 0.5679 MB / 0.8151 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.8508, allocations: 0.691 MB / 0.8158 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.8522, allocations: 0.6178 MB / 0.8164 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.8522, allocations: 3.984 kB / 0.8164 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0031/0.8553, allocations: 1.423 MB / 0.8178 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.8554, allocations: 164.8 kB / 0.8179 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.8554, allocations: 0 / 0.8179 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.8555, allocations: 4 kB / 0.8179 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.8569, allocations: 281.4 kB / 0.8182 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006869/0.8576, allocations: 1.195 MB / 0.8194 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.8588, allocations: 191.3 kB / 0.8196 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.889e-05/0.8589, allocations: 31.98 kB / 0.8196 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.8589, allocations: 4 kB / 0.8196 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002852/0.8617, allocations: 1.318 MB / 0.8209 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.8617, allocations: 4 kB / 0.8209 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-06/0.8618, allocations: 4 kB / 0.8209 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.8629, allocations: 255.7 kB / 0.8211 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.8629, allocations: 7.938 kB / 0.8211 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.8639, allocations: 200.8 kB / 0.8213 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.569e-05/0.864, allocations: 31.98 kB / 0.8214 GB, free: 13.34 MB / 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.0006385/0.8647, allocations: 372.9 kB / 0.8217 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.8649, allocations: 102.8 kB / 0.8218 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003281/0.8682, allocations: 1.426 MB / 0.8232 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.8682, allocations: 11.95 kB / 0.8232 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.8682, allocations: 0.875 kB / 0.8232 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.8682, allocations: 11.86 kB / 0.8232 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005285/0.8735, allocations: 2.925 MB / 0.8261 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.8735, allocations: 4 kB / 0.8261 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.8747, allocations: 256.2 kB / 0.8263 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.8747, allocations: 4 kB / 0.8263 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.465e-05/0.8748, allocations: 27.94 kB / 0.8264 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005494/0.8753, allocations: 1.195 MB / 0.8275 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.8753, allocations: 4 kB / 0.8275 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002954/0.8783, allocations: 1.537 MB / 0.829 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004919/0.8788, allocations: 315.5 kB / 0.8293 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.8789, allocations: 16 kB / 0.8293 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.88, allocations: 163.8 kB / 0.8295 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.8801, allocations: 64.38 kB / 0.8296 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.07e-05/0.8802, allocations: 35.97 kB / 0.8296 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007027/0.8809, allocations: 0.5583 MB / 0.8301 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8809, allocations: 0 / 0.8301 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001345/0.8823, allocations: 0.5341 MB / 0.8307 GB, free: 3.531 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.0005448/0.8828, allocations: 271.5 kB / 0.8309 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004641/0.8875, allocations: 2.151 MB / 0.833 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.8875, allocations: 0 / 0.833 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0015/0.889, allocations: 0.7067 MB / 0.8337 GB, free: 412 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/0.8913, allocations: 0.5157 MB / 0.8342 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/0.8954, allocations: 2.538 MB / 0.8367 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007489/0.8962, allocations: 1.087 MB / 0.8378 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004875/0.8967, allocations: 103.4 kB / 0.8379 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of SimCode: time 2.655e-06/0.8967, allocations: 4 kB / 0.8379 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of Templates: time 0.03343/0.9301, allocations: 26.74 MB / 0.864 GB, free: 1.453 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectivenessCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectivenessCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectivenessCalcHelperMain.o] Error 1