Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 99.59 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.001308/0.001308, allocations: 175.6 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.522/1.522, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.098/1.098, allocations: 143.4 MB / 435.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.000396, allocations: 15.94 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.196, allocations: 83.41 MB / 0.5981 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6494/0.8454, allocations: 176.6 MB / 0.7706 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.8566, allocations: 6.57 MB / 0.777 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.8586, allocations: 35.69 kB / 0.777 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.8603, allocations: 480.8 kB / 0.7775 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005837/0.8662, allocations: 1.683 MB / 0.7791 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003509/0.8697, allocations: 1.08 MB / 0.7802 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004955/0.8747, allocations: 3.215 MB / 0.7833 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.8762, allocations: 0.684 MB / 0.784 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002251/0.8784, allocations: 0.9453 MB / 0.7849 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.8798, allocations: 0.7391 MB / 0.7856 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.8799, allocations: 40 kB / 0.7857 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003491/0.8834, allocations: 1.212 MB / 0.7868 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004427/0.8839, allocations: 298.9 kB / 0.7871 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004398/0.8843, allocations: 237.1 kB / 0.7874 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002659/0.887, allocations: 1.699 MB / 0.789 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.887, allocations: 4 kB / 0.789 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.315e-06/0.887, allocations: 0 / 0.789 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.887, allocations: 0 / 0.789 GB, free: 8.652 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003323/0.8904, allocations: 1.4 MB / 0.7904 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.8904, allocations: 8.031 kB / 0.7904 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002807/0.8932, allocations: 0.6074 MB / 0.791 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.8955, allocations: 0.9603 MB / 0.7919 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001013/0.8965, allocations: 317 kB / 0.7922 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.8967, allocations: 64 kB / 0.7923 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.8991, allocations: 1.148 MB / 0.7934 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.8992, allocations: 0 / 0.7934 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-05/0.8993, allocations: 28 kB / 0.7934 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/0.8993, allocations: 37.3 kB / 0.7935 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/0.9023, allocations: 1.254 MB / 0.7947 GB, free: 2.707 MB / 0.6075 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.006288/0.9086, allocations: 3.249 MB / 0.7979 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.9102, allocations: 0.6994 MB / 0.7985 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007724/0.911, allocations: 430.8 kB / 0.799 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009704/0.912, allocations: 1.021 MB / 0.8 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.9131, allocations: 0.526 MB / 0.8005 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 2.264e-06/0.9131, allocations: 0 / 0.8005 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.003007/0.9161, allocations: 1.236 MB / 0.8017 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.605e-05/0.9162, allocations: 144.9 kB / 0.8018 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.9183, allocations: 1.208 MB / 0.803 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.9184, allocations: 37.7 kB / 0.803 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004229/0.9188, allocations: 441.4 kB / 0.8035 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/0.9191, allocations: 193.2 kB / 0.8036 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.9192, allocations: 12 kB / 0.8036 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.9193, allocations: 329.9 kB / 0.804 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.9205, allocations: 488.9 kB / 0.8044 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.9219, allocations: 0.6367 MB / 0.8051 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.9232, allocations: 0.5385 MB / 0.8056 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.9232, allocations: 3.953 kB / 0.8056 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003064/0.9263, allocations: 1.283 MB / 0.8068 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/0.9263, allocations: 33.7 kB / 0.8069 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.9263, allocations: 4 kB / 0.8069 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.9264, allocations: 4.281 kB / 0.8069 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009074/0.9273, allocations: 219.7 kB / 0.8071 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.9273, allocations: 7.938 kB / 0.8071 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.9289, allocations: 310.8 kB / 0.8074 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.742e-05/0.929, allocations: 31.98 kB / 0.8074 GB, free: 5.191 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0006056/0.9296, allocations: 327.3 kB / 0.8077 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.9298, allocations: 122.5 kB / 0.8078 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.9321, allocations: 1.007 MB / 0.8088 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.9321, allocations: 4 kB / 0.8088 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.9321, allocations: 4 kB / 0.8088 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.9321, allocations: 3.984 kB / 0.8088 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004731/0.9368, allocations: 3.185 MB / 0.812 GB, free: 376 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.9369, allocations: 8.562 kB / 0.812 GB, free: 368 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.9375, allocations: 119.8 kB / 0.8121 GB, free: 248 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.558e-05/0.9375, allocations: 15.94 kB / 0.8121 GB, free: 232 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.812e-05/0.9375, allocations: 27.98 kB / 0.8121 GB, free: 204 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.9376, allocations: 8 kB / 0.8121 GB, free: 196 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/0.9376, allocations: 15.94 kB / 0.8121 GB, free: 180 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/0.9397, allocations: 1.358 MB / 0.8135 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006209/0.9404, allocations: 327.4 kB / 0.8138 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.9405, allocations: 23.98 kB / 0.8138 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.9415, allocations: 127.9 kB / 0.8139 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.9417, allocations: 63.72 kB / 0.814 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.723e-05/0.9417, allocations: 43.97 kB / 0.814 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001566/0.9433, allocations: 0.8794 MB / 0.8149 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9433, allocations: 0 / 0.8149 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00111/0.9444, allocations: 295.8 kB / 0.8152 GB, free: 12.93 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.0007191/0.9452, allocations: 348.9 kB / 0.8155 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002354/0.9475, allocations: 1.049 MB / 0.8165 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.9476, allocations: 4 kB / 0.8165 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008977/0.9485, allocations: 0.5164 MB / 0.817 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/0.9512, allocations: 0.5425 MB / 0.8176 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/0.9553, allocations: 2.339 MB / 0.8198 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/0.9561, allocations: 1.069 MB / 0.8209 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/0.9565, allocations: 91.41 kB / 0.821 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of SimCode: time 7.61e-07/0.9565, allocations: 0 / 0.821 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of Templates: time 0.03116/0.9877, allocations: 18.75 MB / 0.8393 GB, free: 4.246 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.o] Error 1