Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008169/0.0008173, 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.0009272/0.0009274, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.374/1.374, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7698/0.7698, allocations: 132.3 MB / 424 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004294, allocations: 8 kB / 0.504 GB, free: 4.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5433/0.5438, allocations: 81.57 MB / 0.5837 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04115/0.585, allocations: 38.32 MB / 0.6211 GB, free: 7.285 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01459/0.5996, allocations: 9.725 MB / 0.6306 GB, free: 15.35 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/0.6016, allocations: 48.5 kB / 0.6306 GB, free: 15.33 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.6031, allocations: 459.3 kB / 0.6311 GB, free: 14.95 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004353/0.6075, allocations: 1.471 MB / 0.6325 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002699/0.6102, allocations: 0.8626 MB / 0.6333 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005059/0.6152, allocations: 3.85 MB / 0.6371 GB, free: 9.785 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.6166, allocations: 0.7493 MB / 0.6378 GB, free: 9.023 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002559/0.6191, allocations: 0.9799 MB / 0.6388 GB, free: 8.039 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.6205, allocations: 0.8088 MB / 0.6396 GB, free: 7.227 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.996e-05/0.6206, allocations: 36 kB / 0.6396 GB, free: 7.191 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.6224, allocations: 490.8 kB / 0.6401 GB, free: 6.711 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.6226, allocations: 203.1 kB / 0.6403 GB, free: 6.512 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003629/0.623, allocations: 265.1 kB / 0.6405 GB, free: 6.246 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.6246, allocations: 1.37 MB / 0.6419 GB, free: 4.875 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.6246, allocations: 4 kB / 0.6419 GB, free: 4.871 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6246, allocations: 0 / 0.6419 GB, free: 4.871 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.162e-05/0.6247, allocations: 0 / 0.6419 GB, free: 4.871 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002156/0.6268, allocations: 1.316 MB / 0.6432 GB, free: 3.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.6269, allocations: 12.03 kB / 0.6432 GB, free: 3.488 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002941/0.6272, allocations: 130.6 kB / 0.6433 GB, free: 3.359 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.6288, allocations: 1.041 MB / 0.6443 GB, free: 2.277 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.832e-05/0.6289, allocations: 58 kB / 0.6444 GB, free: 2.219 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.629, allocations: 75.91 kB / 0.6444 GB, free: 2.145 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.6304, allocations: 0.7983 MB / 0.6452 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.6304, allocations: 0 / 0.6452 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.346e-05/0.6305, allocations: 32 kB / 0.6453 GB, free: 1.285 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.6305, allocations: 20 kB / 0.6453 GB, free: 1.266 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.6316, allocations: 0.5867 MB / 0.6458 GB, free: 0.6758 MB / 478.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.003926/0.6355, allocations: 3.552 MB / 0.6493 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005335/0.6361, allocations: 270.6 kB / 0.6496 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.6364, allocations: 188.8 kB / 0.6497 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000537/0.637, allocations: 0.657 MB / 0.6504 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.637, allocations: 42.56 kB / 0.6504 GB, free: 11.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 1.723e-06/0.637, allocations: 0 / 0.6504 GB, free: 11.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001099/0.6381, allocations: 0.5449 MB / 0.651 GB, free: 11.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.6382, allocations: 55.41 kB / 0.651 GB, free: 10.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.6393, allocations: 0.9221 MB / 0.6519 GB, free: 10.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.6393, allocations: 41.7 kB / 0.652 GB, free: 9.969 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.6397, allocations: 499.4 kB / 0.6524 GB, free: 9.477 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.6398, allocations: 118.4 kB / 0.6525 GB, free: 9.359 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.6399, allocations: 8 kB / 0.6526 GB, free: 9.352 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.64, allocations: 330 kB / 0.6529 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.6403, allocations: 177 kB / 0.653 GB, free: 8.848 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.6408, allocations: 356.4 kB / 0.6534 GB, free: 8.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.6413, allocations: 231.8 kB / 0.6536 GB, free: 8.203 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6413, allocations: 4 kB / 0.6536 GB, free: 8.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001073/0.6423, allocations: 0.631 MB / 0.6542 GB, free: 7.562 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.6424, allocations: 12.03 kB / 0.6542 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.6424, allocations: 4 kB / 0.6542 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.6424, allocations: 8 kB / 0.6542 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004299/0.6429, allocations: 127.8 kB / 0.6544 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.6429, allocations: 8 kB / 0.6544 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006578/0.6435, allocations: 127.1 kB / 0.6545 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.6436, allocations: 24 kB / 0.6545 GB, free: 7.258 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003661/0.644, allocations: 278.3 kB / 0.6548 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.6441, allocations: 102.8 kB / 0.6549 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009261/0.645, allocations: 0.4884 MB / 0.6554 GB, free: 6.391 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.6451, allocations: 4 kB / 0.6554 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6451, allocations: 0 / 0.6554 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007241/0.6458, allocations: 483 kB / 0.6558 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.6478, allocations: 1.363 MB / 0.6572 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6478, allocations: 0 / 0.6572 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.6481, allocations: 88.03 kB / 0.6572 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.6482, allocations: 4 kB / 0.6572 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.6482, allocations: 16.02 kB / 0.6573 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.6482, allocations: 4 kB / 0.6573 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6482, allocations: 3.938 kB / 0.6573 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.6494, allocations: 0.8009 MB / 0.658 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/0.6498, allocations: 239.7 kB / 0.6583 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.6499, allocations: 12 kB / 0.6583 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005101/0.6504, allocations: 59.89 kB / 0.6583 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.6505, allocations: 35.91 kB / 0.6584 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.6505, allocations: 23.92 kB / 0.6584 GB, free: 3.125 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008027/0.6513, allocations: 0.6393 MB / 0.659 GB, free: 2.477 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6513, allocations: 0 / 0.659 GB, free: 2.477 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009337/0.6523, allocations: 327.4 kB / 0.6593 GB, free: 2.156 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006751/0.653, allocations: 354.8 kB / 0.6597 GB, free: 1.812 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008694/0.6538, allocations: 433.8 kB / 0.6601 GB, free: 1.391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6539, allocations: 8.125 kB / 0.6601 GB, free: 1.383 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.6542, allocations: 192.5 kB / 0.6603 GB, free: 1.195 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.6568, allocations: 0.5992 MB / 0.6609 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.6596, allocations: 1.995 MB / 0.6628 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/0.6602, allocations: 1.032 MB / 0.6638 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.6604, allocations: 83.41 kB / 0.6639 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.6604, allocations: 0 / 0.6639 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.02772/0.6881, allocations: 17.67 MB / 0.6811 GB, free: 11.92 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.o] Error 1