Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.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.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 92.78 kB / 16.02 MB, free: 80 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.001363/0.001363, allocations: 181 kB / 16.92 MB, free: 6.652 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7295/0.7295, allocations: 132.3 MB / 424.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003327, allocations: 8.594 kB / 0.5046 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4233, allocations: 81.58 MB / 0.5843 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.8178/1.241, allocations: 362.2 MB / 0.938 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04345/1.285, allocations: 33.22 MB / 0.9704 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008367/1.293, allocations: 133.8 kB / 0.9705 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007059/1.3, allocations: 1.937 MB / 0.9724 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02128/1.321, allocations: 6.927 MB / 0.9792 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0111/1.333, allocations: 4.098 MB / 0.9832 GB, free: 488 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01983/1.352, allocations: 13.62 MB / 0.9965 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006327/1.359, allocations: 3.181 MB / 0.9996 GB, free: 15.95 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01677/1.376, allocations: 4.621 MB / 1.004 GB, free: 11.63 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008743/1.384, allocations: 3.206 MB / 1.007 GB, free: 8.637 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001673/1.386, allocations: 191.7 kB / 1.007 GB, free: 8.453 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01648/1.403, allocations: 7.204 MB / 1.014 GB, free: 1.934 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002542/1.405, allocations: 1.081 MB / 1.016 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004881/1.41, allocations: 2.433 MB / 1.018 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01191/1.422, allocations: 7.217 MB / 1.025 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.422, allocations: 4 kB / 1.025 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.368e-06/1.422, allocations: 3.984 kB / 1.025 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002162/1.422, allocations: 0 / 1.025 GB, free: 7.566 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01404/1.436, allocations: 4.963 MB / 1.03 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/1.436, allocations: 8.031 kB / 1.03 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0296/1.466, allocations: 4.562 MB / 1.034 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008596/1.475, allocations: 3.6 MB / 1.038 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001613/1.476, allocations: 0.5587 MB / 1.038 GB, free: 9.836 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00142/1.478, allocations: 352.9 kB / 1.039 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01714/1.495, allocations: 5.822 MB / 1.044 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-05/1.495, allocations: 7.875 kB / 1.044 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004681/1.495, allocations: 132 kB / 1.044 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/1.496, allocations: 134.5 kB / 1.045 GB, free: 3.324 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02233/1.518, allocations: 7.051 MB / 1.051 GB, free: 12.27 MB / 0.7169 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.04796/1.566, allocations: 22.47 MB / 1.073 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/1.577, allocations: 4.148 MB / 1.077 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007185/1.584, allocations: 2.329 MB / 1.08 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01566/1.6, allocations: 8.199 MB / 1.088 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006732/1.607, allocations: 2.463 MB / 1.09 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=230): time 4.578e-06/1.607, allocations: 0 / 1.09 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=230): time 0.03221/1.639, allocations: 8.697 MB / 1.099 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/1.639, allocations: 73.41 kB / 1.099 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008243/1.647, allocations: 4.307 MB / 1.103 GB, free: 6.164 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0008552/1.648, allocations: 81.7 kB / 1.103 GB, free: 6.078 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001661/1.65, allocations: 1.823 MB / 1.105 GB, free: 4.254 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.00121/1.651, allocations: 0.7949 MB / 1.106 GB, free: 3.465 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006038/1.652, allocations: 309.1 kB / 1.106 GB, free: 3.156 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.652, allocations: 305.1 kB / 1.106 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008816/1.661, allocations: 2.836 MB / 1.109 GB, free: 20 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3946/2.055, allocations: 3.506 MB / 1.112 GB, free: 325.5 MB / 0.7637 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02058/2.076, allocations: 6.105 MB / 1.118 GB, free: 323.4 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.955e-05/2.076, allocations: 4.781 kB / 1.118 GB, free: 323.4 MB / 0.7637 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03071/2.107, allocations: 7.802 MB / 1.126 GB, free: 321.2 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/2.107, allocations: 11.59 kB / 1.126 GB, free: 321.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-05/2.107, allocations: 21.52 kB / 1.126 GB, free: 321.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004171/2.111, allocations: 0.9789 MB / 1.127 GB, free: 321 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009186/2.12, allocations: 1.438 MB / 1.128 GB, free: 320.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/2.135, allocations: 13.78 MB / 1.142 GB, free: 308.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01092/2.146, allocations: 1.368 MB / 1.143 GB, free: 308.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001133/2.147, allocations: 186.6 kB / 1.143 GB, free: 308.5 MB / 0.7637 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: hexWetNTU.UAFroRated.TAirIn = 293.15 hexWetNTU.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 13 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,hexWetNTU.flowRegime_nominal,hexWetNTU_TX.flowRegime_nominal,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent,hexWetNTU_TX.flowRegime,hexWetNTU.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (418): * Single equations (assignments): 403 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 9 systems {(1,1), (1,3), (1,2), (1,2), (1,4), (1,2), (1,4), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002561/2.149, allocations: 0.8621 MB / 1.144 GB, free: 307.9 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/2.151, allocations: 421.9 kB / 1.145 GB, free: 307.9 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01914/2.17, allocations: 5.953 MB / 1.15 GB, free: 305.9 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-05/2.17, allocations: 23.75 kB / 1.15 GB, free: 305.9 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/2.17, allocations: 3.938 kB / 1.15 GB, free: 305.9 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-05/2.17, allocations: 11.3 kB / 1.15 GB, free: 305.9 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02668/2.197, allocations: 11.08 MB / 1.161 GB, free: 299.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/2.197, allocations: 3.906 kB / 1.161 GB, free: 299.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004354/2.201, allocations: 0.6924 MB / 1.162 GB, free: 299 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003153/2.204, allocations: 0.7963 MB / 1.163 GB, free: 298.6 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005294/2.205, allocations: 88.16 kB / 1.163 GB, free: 298.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/2.215, allocations: 11.03 MB / 1.174 GB, free: 287.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/2.215, allocations: 8.062 kB / 1.174 GB, free: 287.7 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0253/2.241, allocations: 8.429 MB / 1.182 GB, free: 279.2 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00321/2.244, allocations: 1.139 MB / 1.183 GB, free: 278.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008084/2.245, allocations: 51.94 kB / 1.183 GB, free: 278 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006045/2.251, allocations: 0.6508 MB / 1.184 GB, free: 277.4 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003817/2.251, allocations: 165.7 kB / 1.184 GB, free: 277.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002687/2.252, allocations: 111.8 kB / 1.184 GB, free: 277.1 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.005207/2.257, allocations: 2.982 MB / 1.187 GB, free: 274.1 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2e-07/2.257, allocations: 0 / 1.187 GB, free: 274.1 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005263/2.262, allocations: 1.555 MB / 1.188 GB, free: 272.6 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (relHumIn.phi,TDryBulIn.T,senMasFraIn.X,senMasFraOut.X,TDryBulOut.T,hexWetNTU.dryWetCalcs.fullyWet.TWatOutEst,relHumOut_eps.phi,hexWetNTU_TX.dryWetCalcs.fullyWet.TWatOutEst) * Number of discrete variables: 5 ($whenCondition1,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime,w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of discrete states: 2 (w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * 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): 8 systems {(1,4), (1,2), (1,4), (1,2), (1,1), (1,1), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002211/2.264, allocations: 1.054 MB / 1.189 GB, free: 271.9 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01851/2.283, allocations: 6.497 MB / 1.196 GB, free: 265.3 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/2.283, allocations: 5.312 kB / 1.196 GB, free: 265.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.007187/2.29, allocations: 3.099 MB / 1.199 GB, free: 262.1 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01164/2.302, allocations: 2.049 MB / 1.201 GB, free: 260.2 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02487/2.327, allocations: 11.04 MB / 1.211 GB, free: 249.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/2.328, allocations: 2.278 MB / 1.214 GB, free: 246.8 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002748/2.331, allocations: 447.1 kB / 1.214 GB, free: 246.3 MB / 0.7637 GB Notification: Performance of SimCode: time 6.01e-07/2.331, allocations: 0 / 1.214 GB, free: 246.3 MB / 0.7637 GB Notification: Performance of Templates: time 0.4896/2.821, allocations: 259 MB / 1.467 GB, free: 309.7 MB / 0.7637 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.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/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/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.HeatExchangers.Validation.WetCoilEffectivenessNTUCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCalcHelperMain.o] Error 1