Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009514/0.0009515, allocations: 97.78 kB / 16.02 MB, free: 76 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.001541/0.001541, allocations: 187.3 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.796/1.796, allocations: 292.7 MB / 0.5509 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005718/0.0005718, allocations: 13.5 kB / 0.675 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3443, allocations: 116.3 MB / 0.7885 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 1.007/1.351, allocations: 189.1 MB / 0.9732 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01268/1.364, allocations: 6.879 MB / 0.9799 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002479/1.366, allocations: 42.69 kB / 0.98 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002068/1.368, allocations: 0.5602 MB / 0.9805 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007758/1.376, allocations: 2.15 MB / 0.9826 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004391/1.38, allocations: 1.289 MB / 0.9839 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005791/1.386, allocations: 3.681 MB / 0.9875 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/1.388, allocations: 0.7475 MB / 0.9882 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/1.391, allocations: 0.9577 MB / 0.9891 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002389/1.393, allocations: 0.7993 MB / 0.9899 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002146/1.393, allocations: 42.69 kB / 0.99 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005787/1.399, allocations: 2.22 MB / 0.9921 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005177/1.4, allocations: 312.3 kB / 0.9924 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/1.401, allocations: 0.5518 MB / 0.993 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003246/1.404, allocations: 1.753 MB / 0.9947 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/1.404, allocations: 0 / 0.9947 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.384e-06/1.404, allocations: 0 / 0.9947 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.448e-05/1.404, allocations: 4 kB / 0.9947 GB, free: 7.406 MB / 0.7325 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.003859/1.408, allocations: 1.413 MB / 0.9961 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/1.408, allocations: 10.5 kB / 0.9961 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003205/1.411, allocations: 0.5992 MB / 0.9967 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/1.414, allocations: 1.006 MB / 0.9976 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001234/1.415, allocations: 319 kB / 0.9979 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/1.415, allocations: 73.72 kB / 0.998 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/1.418, allocations: 1.178 MB / 0.9992 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/1.418, allocations: 3.938 kB / 0.9992 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.505e-05/1.418, allocations: 31.09 kB / 0.9992 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-05/1.418, allocations: 25.97 kB / 0.9992 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003507/1.422, allocations: 1.335 MB / 1.001 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0068/1.428, allocations: 2.971 MB / 1.003 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/1.43, allocations: 0.7404 MB / 1.004 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008918/1.431, allocations: 453.9 kB / 1.005 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.432, allocations: 1.022 MB / 1.006 GB, free: 16 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/1.434, allocations: 0.5384 MB / 1.006 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=59): time 5.109e-06/1.434, allocations: 5.766 kB / 1.006 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=59): time 0.003406/1.437, allocations: 1.291 MB / 1.007 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.86e-05/1.437, allocations: 119.1 kB / 1.007 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002698/1.44, allocations: 1.217 MB / 1.009 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001857/1.44, allocations: 36.64 kB / 1.009 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005718/1.441, allocations: 434 kB / 1.009 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/1.441, allocations: 202.9 kB / 1.009 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/1.441, allocations: 48.58 kB / 1.009 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002604/1.441, allocations: 331.7 kB / 1.01 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/1.443, allocations: 0.4926 MB / 1.01 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/1.444, allocations: 0.6485 MB / 1.011 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/1.447, allocations: 0.9967 MB / 1.012 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.447, allocations: 0 / 1.012 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003631/1.45, allocations: 1.311 MB / 1.013 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.391e-05/1.451, allocations: 38.03 kB / 1.013 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/1.451, allocations: 6.484 kB / 1.013 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/1.451, allocations: 5.844 kB / 1.013 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.452, allocations: 219.4 kB / 1.013 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.462e-05/1.452, allocations: 8.656 kB / 1.013 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/1.454, allocations: 309.7 kB / 1.014 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.581e-05/1.454, allocations: 36.59 kB / 1.014 GB, free: 11.21 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007356/1.455, allocations: 327.4 kB / 1.014 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/1.455, allocations: 115.8 kB / 1.014 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/1.457, allocations: 1.064 MB / 1.015 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/1.457, allocations: 16.05 kB / 1.015 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.457, allocations: 0 / 1.015 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/1.457, allocations: 0 / 1.015 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005388/1.463, allocations: 3.237 MB / 1.018 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/1.463, allocations: 11.94 kB / 1.018 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006047/1.463, allocations: 135.1 kB / 1.018 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/1.463, allocations: 10.84 kB / 1.018 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-05/1.463, allocations: 26.14 kB / 1.018 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-05/1.463, allocations: 14.41 kB / 1.018 GB, free: 7.988 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/1.463, allocations: 11.97 kB / 1.018 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/1.466, allocations: 1.329 MB / 1.02 GB, free: 7.055 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006203/1.466, allocations: 332 kB / 1.02 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/1.467, allocations: 25.8 kB / 1.02 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.468, allocations: 122.1 kB / 1.02 GB, free: 6.727 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/1.468, allocations: 68.31 kB / 1.02 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/1.468, allocations: 43.66 kB / 1.02 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001757/1.47, allocations: 0.8893 MB / 1.021 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.31e-07/1.47, allocations: 0 / 1.021 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001178/1.471, allocations: 301.5 kB / 1.022 GB, free: 6.137 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008282/1.472, allocations: 343.9 kB / 1.022 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002684/1.475, allocations: 1.083 MB / 1.023 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.475, allocations: 0 / 1.023 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/1.476, allocations: 0.5487 MB / 1.023 GB, free: 5.113 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003958/1.48, allocations: 0.5465 MB / 1.024 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/1.484, allocations: 2.454 MB / 1.026 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007487/1.485, allocations: 1.072 MB / 1.027 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004118/1.485, allocations: 92.27 kB / 1.027 GB, free: 2.203 MB / 0.7481 GB Notification: Performance of SimCode: time 1.222e-06/1.485, allocations: 0 / 1.027 GB, free: 2.203 MB / 0.7481 GB Notification: Performance of Templates: time 0.03527/1.521, allocations: 18.75 MB / 1.046 GB, free: 15.96 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.o] Error 1