Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008369/0.0008369, allocations: 99.98 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.0009339/0.000934, allocations: 176.8 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.59/1.59, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.125/1.125, allocations: 135.3 MB / 427 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004805, allocations: 12 kB / 0.5076 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2406, allocations: 82.32 MB / 0.588 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.4974/0.738, allocations: 38.29 MB / 0.6254 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01367/0.7518, allocations: 9.729 MB / 0.6349 GB, free: 26.22 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.754, allocations: 51.12 kB / 0.6349 GB, free: 26.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.7556, allocations: 469.1 kB / 0.6354 GB, free: 25.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004726/0.7603, allocations: 1.462 MB / 0.6368 GB, free: 25.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.7632, allocations: 0.8594 MB / 0.6377 GB, free: 24.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005151/0.7684, allocations: 3.845 MB / 0.6414 GB, free: 23.13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.7698, allocations: 0.7454 MB / 0.6421 GB, free: 22.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/0.7722, allocations: 0.9916 MB / 0.6431 GB, free: 22.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.7739, allocations: 0.8051 MB / 0.6439 GB, free: 22.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.7741, allocations: 36.94 kB / 0.6439 GB, free: 22.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.7759, allocations: 497.5 kB / 0.6444 GB, free: 21.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.7762, allocations: 198.8 kB / 0.6446 GB, free: 21.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004181/0.7766, allocations: 263.5 kB / 0.6448 GB, free: 21.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.7782, allocations: 1.371 MB / 0.6462 GB, free: 21.37 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.7782, allocations: 0 / 0.6462 GB, free: 21.37 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7782, allocations: 0 / 0.6462 GB, free: 21.37 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.7782, allocations: 4 kB / 0.6462 GB, free: 21.36 MB / 0.4981 GB 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.002266/0.7805, allocations: 1.316 MB / 0.6475 GB, free: 20.47 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.7806, allocations: 7.875 kB / 0.6475 GB, free: 20.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003045/0.7809, allocations: 135.6 kB / 0.6476 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.7824, allocations: 1.035 MB / 0.6486 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/0.7825, allocations: 56.69 kB / 0.6487 GB, free: 19.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.7826, allocations: 73.88 kB / 0.6487 GB, free: 19.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.7839, allocations: 0.8029 MB / 0.6495 GB, free: 19.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.7839, allocations: 2.75 kB / 0.6495 GB, free: 19.35 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.124e-05/0.784, allocations: 29.16 kB / 0.6496 GB, free: 19.33 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/0.784, allocations: 18.75 kB / 0.6496 GB, free: 19.33 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.7851, allocations: 0.5829 MB / 0.6501 GB, free: 19.13 MB / 0.4981 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.003377/0.7884, allocations: 3.551 MB / 0.6536 GB, free: 16.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005316/0.789, allocations: 277.3 kB / 0.6539 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.7893, allocations: 194.2 kB / 0.6541 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000389/0.7897, allocations: 0.6556 MB / 0.6547 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.7898, allocations: 37.78 kB / 0.6547 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.875e-06/0.7898, allocations: 0 / 0.6547 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001139/0.7909, allocations: 0.5403 MB / 0.6553 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.791, allocations: 59.47 kB / 0.6553 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.7923, allocations: 0.919 MB / 0.6562 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.7923, allocations: 35.61 kB / 0.6563 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004014/0.7927, allocations: 0.4885 MB / 0.6567 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.7929, allocations: 111.6 kB / 0.6568 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.7929, allocations: 9.938 kB / 0.6568 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.663e-05/0.793, allocations: 335 kB / 0.6572 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.7934, allocations: 172.8 kB / 0.6573 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/0.7939, allocations: 356.7 kB / 0.6577 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/0.7944, allocations: 230.7 kB / 0.6579 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7944, allocations: 1.875 kB / 0.6579 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001191/0.7956, allocations: 0.6289 MB / 0.6585 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.7956, allocations: 8.531 kB / 0.6585 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.7956, allocations: 4.281 kB / 0.6585 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/0.7957, allocations: 10.5 kB / 0.6585 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/0.7962, allocations: 140.1 kB / 0.6587 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/0.7962, allocations: 8.375 kB / 0.6587 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007832/0.797, allocations: 115.4 kB / 0.6588 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.845e-05/0.7971, allocations: 25.45 kB / 0.6588 GB, free: 13.32 MB / 0.4981 GB 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.0004376/0.7975, allocations: 285.7 kB / 0.6591 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.7977, allocations: 97.88 kB / 0.6592 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.7988, allocations: 499.7 kB / 0.6596 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.7988, allocations: 4.766 kB / 0.6597 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.7989, allocations: 0 / 0.6597 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007792/0.7996, allocations: 471.4 kB / 0.6601 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.8022, allocations: 1.39 MB / 0.6615 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.8022, allocations: 2.328 kB / 0.6615 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/0.8026, allocations: 82.3 kB / 0.6615 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.8026, allocations: 3.875 kB / 0.6615 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.8026, allocations: 9.656 kB / 0.6616 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.8026, allocations: 6.469 kB / 0.6616 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.8027, allocations: 1.938 kB / 0.6616 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.8041, allocations: 0.7966 MB / 0.6623 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/0.8045, allocations: 241.6 kB / 0.6626 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.8046, allocations: 12.14 kB / 0.6626 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006099/0.8052, allocations: 63.61 kB / 0.6626 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.45e-05/0.8053, allocations: 29.45 kB / 0.6627 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/0.8054, allocations: 16.72 kB / 0.6627 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001113/0.8065, allocations: 0.6432 MB / 0.6633 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8065, allocations: 0 / 0.6633 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001868/0.8084, allocations: 329 kB / 0.6636 GB, free: 10.86 MB / 0.4981 GB 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.001062/0.8094, allocations: 359.4 kB / 0.664 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.8107, allocations: 442.5 kB / 0.6644 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.8107, allocations: 1.031 kB / 0.6644 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005166/0.8113, allocations: 203.1 kB / 0.6646 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/0.8143, allocations: 0.6 MB / 0.6652 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.8177, allocations: 1.998 MB / 0.6671 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007287/0.8185, allocations: 1.029 MB / 0.6681 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.8187, allocations: 82.08 kB / 0.6682 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/0.8187, allocations: 4.906 kB / 0.6682 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of Templates: time 0.04129/0.86, allocations: 17.67 MB / 0.6855 GB, free: 3.02 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.o] Error 1