Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001042/0.001042, allocations: 103 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.001315/0.001315, allocations: 173 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.527/1.527, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.127/1.127, allocations: 143.4 MB / 435.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.00041, allocations: 15.98 kB / 0.5166 GB, free: 11.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2142, allocations: 83.4 MB / 0.598 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6835/0.8978, allocations: 195.3 MB / 0.7887 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.91, allocations: 6.629 MB / 0.7952 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.9117, allocations: 35.75 kB / 0.7952 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.9135, allocations: 0.5005 MB / 0.7957 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006231/0.9198, allocations: 1.801 MB / 0.7975 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.9229, allocations: 0.9056 MB / 0.7984 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004854/0.9277, allocations: 3.195 MB / 0.8015 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.9293, allocations: 0.793 MB / 0.8023 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004429/0.9338, allocations: 1.529 MB / 0.8038 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/0.9358, allocations: 0.8637 MB / 0.8046 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000343/0.9362, allocations: 48 kB / 0.8047 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004374/0.9405, allocations: 1.54 MB / 0.8062 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005921/0.9412, allocations: 338.8 kB / 0.8065 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006114/0.9418, allocations: 273 kB / 0.8067 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002757/0.9445, allocations: 1.808 MB / 0.8085 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.9446, allocations: 0 / 0.8085 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.515e-06/0.9446, allocations: 0 / 0.8085 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.278e-05/0.9446, allocations: 0 / 0.8085 GB, free: 4.668 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.004002/0.9486, allocations: 1.614 MB / 0.8101 GB, free: 3 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.9487, allocations: 8.031 kB / 0.8101 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002892/0.9516, allocations: 0.5838 MB / 0.8107 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.9533, allocations: 0.9413 MB / 0.8116 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005656/0.9539, allocations: 193.9 kB / 0.8118 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.9541, allocations: 84 kB / 0.8118 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/0.9567, allocations: 1.26 MB / 0.8131 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.9568, allocations: 4 kB / 0.8131 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.543e-05/0.9569, allocations: 31.91 kB / 0.8131 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.562e-05/0.9569, allocations: 45.98 kB / 0.8132 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00352/0.9604, allocations: 1.612 MB / 0.8147 GB, free: 14.19 MB / 0.6387 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.006608/0.9671, allocations: 4.097 MB / 0.8187 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002526/0.9696, allocations: 1.054 MB / 0.8198 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.9711, allocations: 0.6909 MB / 0.8204 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.9722, allocations: 0.6399 MB / 0.8211 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.9722, allocations: 39.22 kB / 0.8211 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.477e-06/0.9722, allocations: 0 / 0.8211 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004858/0.9771, allocations: 1.914 MB / 0.823 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.9772, allocations: 60.06 kB / 0.823 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.9783, allocations: 0.8153 MB / 0.8238 GB, free: 4.438 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.9785, allocations: 41.7 kB / 0.8239 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003831/0.9789, allocations: 436.6 kB / 0.8243 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.9791, allocations: 272.1 kB / 0.8245 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.9792, allocations: 12 kB / 0.8245 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.9793, allocations: 334 kB / 0.8249 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.9807, allocations: 0.5602 MB / 0.8254 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.9821, allocations: 0.695 MB / 0.8261 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.9835, allocations: 0.6177 MB / 0.8267 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.9835, allocations: 0 / 0.8267 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003236/0.9868, allocations: 1.431 MB / 0.8281 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.9869, allocations: 152.8 kB / 0.8282 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.9869, allocations: 0 / 0.8282 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.987, allocations: 4 kB / 0.8282 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.9885, allocations: 292.3 kB / 0.8285 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007196/0.9892, allocations: 1.192 MB / 0.8297 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.9905, allocations: 195.2 kB / 0.8299 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/0.9906, allocations: 31.97 kB / 0.8299 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/0.9906, allocations: 4 kB / 0.8299 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002951/0.9935, allocations: 1.321 MB / 0.8312 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.9936, allocations: 0 / 0.8312 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.9936, allocations: 4 kB / 0.8312 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.9947, allocations: 247.8 kB / 0.8314 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.9948, allocations: 4 kB / 0.8314 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.996, allocations: 195.1 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.539e-05/0.9961, allocations: 43.92 kB / 0.8317 GB, free: 12.25 MB / 0.6544 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.0006643/0.9967, allocations: 373 kB / 0.832 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.9969, allocations: 98.78 kB / 0.8321 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/1, allocations: 1.441 MB / 0.8335 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/1, allocations: 8 kB / 0.8335 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1, allocations: 0 / 0.8335 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/1, allocations: 3.984 kB / 0.8335 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005461/1.006, allocations: 2.931 MB / 0.8364 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.006, allocations: 7.984 kB / 0.8364 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/1.007, allocations: 245.7 kB / 0.8366 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.508e-05/1.007, allocations: 8 kB / 0.8366 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.505e-05/1.007, allocations: 23.98 kB / 0.8367 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006322/1.008, allocations: 1.192 MB / 0.8378 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/1.008, allocations: 7.938 kB / 0.8378 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00319/1.011, allocations: 1.541 MB / 0.8393 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006574/1.012, allocations: 307.5 kB / 0.8396 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/1.012, allocations: 20 kB / 0.8397 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/1.013, allocations: 155.8 kB / 0.8398 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/1.013, allocations: 68.47 kB / 0.8399 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-05/1.014, allocations: 35.97 kB / 0.8399 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008419/1.014, allocations: 0.5661 MB / 0.8405 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/1.014, allocations: 3.938 kB / 0.8405 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001528/1.016, allocations: 0.5302 MB / 0.841 GB, free: 2.449 MB / 0.6544 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.0006783/1.017, allocations: 289.1 kB / 0.8413 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005077/1.022, allocations: 2.143 MB / 0.8433 GB, free: 16 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.022, allocations: 4.062 kB / 0.8433 GB, free: 12 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001651/1.023, allocations: 0.7026 MB / 0.844 GB, free: 15.31 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/1.026, allocations: 0.5203 MB / 0.8445 GB, free: 14.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004513/1.031, allocations: 2.531 MB / 0.847 GB, free: 12.19 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/1.031, allocations: 1.09 MB / 0.8481 GB, free: 11.07 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004782/1.032, allocations: 111.4 kB / 0.8482 GB, free: 10.96 MB / 0.67 GB Notification: Performance of SimCode: time 1.152e-06/1.032, allocations: 0 / 0.8482 GB, free: 10.96 MB / 0.67 GB Notification: Performance of Templates: time 0.3814/1.413, allocations: 26.79 MB / 0.8744 GB, free: 202.2 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectivenessCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectivenessCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectivenessCalcHelperMain.o] Error 1