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.009084/0.009084, allocations: 101.1 kB / 15.88 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 196.2 kB / 16.79 MB, free: 6.254 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.592/1.592, allocations: 205.1 MB / 222.6 MB, free: 4.766 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.759/1.759, allocations: 292.3 MB / 0.5491 GB, free: 13.66 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.001422/0.001422, allocations: 67.05 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3403, allocations: 114.5 MB / 0.7833 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 1.015/1.355, allocations: 191.6 MB / 0.9705 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01332/1.369, allocations: 6.964 MB / 0.9773 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/1.371, allocations: 41.12 kB / 0.9773 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002233/1.373, allocations: 0.5604 MB / 0.9779 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008591/1.382, allocations: 2.142 MB / 0.98 GB, free: 56 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004899/1.387, allocations: 1.28 MB / 0.9812 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008108/1.395, allocations: 3.679 MB / 0.9848 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/1.397, allocations: 0.77 MB / 0.9855 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/1.4, allocations: 0.974 MB / 0.9865 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/1.403, allocations: 0.8185 MB / 0.9873 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002456/1.403, allocations: 49.16 kB / 0.9873 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007011/1.41, allocations: 2.232 MB / 0.9895 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0008832/1.411, allocations: 316.6 kB / 0.9898 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00159/1.413, allocations: 0.5419 MB / 0.9904 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004527/1.417, allocations: 1.779 MB / 0.9921 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/1.417, allocations: 4 kB / 0.9921 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.013e-06/1.417, allocations: 1.469 kB / 0.9921 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.298e-05/1.417, allocations: 0 / 0.9921 GB, free: 14.6 MB / 0.7481 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.005568/1.423, allocations: 1.658 MB / 0.9937 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.818e-05/1.423, allocations: 9.312 kB / 0.9937 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003306/1.426, allocations: 0.5435 MB / 0.9943 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002561/1.429, allocations: 0.9914 MB / 0.9952 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001236/1.43, allocations: 273.2 kB / 0.9955 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/1.43, allocations: 66.44 kB / 0.9955 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003093/1.433, allocations: 1.15 MB / 0.9967 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/1.433, allocations: 3.938 kB / 0.9967 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/1.434, allocations: 30.88 kB / 0.9967 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.934e-05/1.434, allocations: 31.95 kB / 0.9967 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003589/1.437, allocations: 1.28 MB / 0.998 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00805/1.445, allocations: 2.923 MB / 1.001 GB, free: 9.719 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/1.447, allocations: 0.7262 MB / 1.002 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009698/1.448, allocations: 442.5 kB / 1.002 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/1.45, allocations: 1.023 MB / 1.003 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/1.451, allocations: 0.5348 MB / 1.003 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=59): time 3.417e-06/1.451, allocations: 0 / 1.003 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of matching and sorting (n=59): time 0.003626/1.455, allocations: 1.274 MB / 1.005 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.455, allocations: 115 kB / 1.005 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/1.457, allocations: 1.2 MB / 1.006 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.115e-05/1.457, allocations: 39.05 kB / 1.006 GB, free: 6.137 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/1.458, allocations: 434.6 kB / 1.006 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/1.458, allocations: 196.6 kB / 1.007 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003276/1.458, allocations: 151 kB / 1.007 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001834/1.459, allocations: 325.8 kB / 1.007 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/1.46, allocations: 477.8 kB / 1.008 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/1.462, allocations: 0.6217 MB / 1.008 GB, free: 4.586 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/1.464, allocations: 0.9605 MB / 1.009 GB, free: 4.004 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.464, allocations: 3.219 kB / 1.009 GB, free: 4.004 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003644/1.467, allocations: 1.254 MB / 1.01 GB, free: 3.387 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.543e-05/1.467, allocations: 41.47 kB / 1.01 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/1.468, allocations: 2.531 kB / 1.01 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/1.468, allocations: 5.375 kB / 1.01 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/1.469, allocations: 208.7 kB / 1.011 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/1.469, allocations: 4.75 kB / 1.011 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/1.47, allocations: 277.1 kB / 1.011 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/1.471, allocations: 36.78 kB / 1.011 GB, free: 3.133 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.0007798/1.471, allocations: 338 kB / 1.011 GB, free: 2.871 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/1.472, allocations: 113.5 kB / 1.011 GB, free: 2.812 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/1.474, allocations: 1.052 MB / 1.012 GB, free: 2.219 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/1.474, allocations: 12.86 kB / 1.012 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/1.474, allocations: 1.938 kB / 1.012 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/1.474, allocations: 3.938 kB / 1.012 GB, free: 2.207 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00652/1.481, allocations: 3.22 MB / 1.016 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/1.481, allocations: 8.031 kB / 1.016 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000617/1.481, allocations: 123.9 kB / 1.016 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.122e-05/1.482, allocations: 18.06 kB / 1.016 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-05/1.482, allocations: 26.8 kB / 1.016 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.977e-05/1.482, allocations: 14.12 kB / 1.016 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.429e-05/1.482, allocations: 14.22 kB / 1.016 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002799/1.484, allocations: 1.325 MB / 1.017 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007274/1.485, allocations: 331.4 kB / 1.017 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/1.485, allocations: 27.11 kB / 1.017 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.487, allocations: 107.6 kB / 1.017 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/1.487, allocations: 62.3 kB / 1.018 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.571e-05/1.487, allocations: 42.44 kB / 1.018 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001919/1.489, allocations: 0.8664 MB / 1.018 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.91e-07/1.489, allocations: 7.875 kB / 1.018 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001451/1.49, allocations: 306.4 kB / 1.019 GB, free: 14.04 MB / 0.7637 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.0009819/1.491, allocations: 336.8 kB / 1.019 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002881/1.494, allocations: 1.049 MB / 1.02 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.494, allocations: 3 kB / 1.02 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0009891/1.495, allocations: 0.5367 MB / 1.021 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/1.498, allocations: 0.5443 MB / 1.021 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/1.502, allocations: 2.417 MB / 1.023 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007177/1.503, allocations: 1.062 MB / 1.024 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000401/1.503, allocations: 94.27 kB / 1.025 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of SimCode: time 7.11e-07/1.503, allocations: 0 / 1.025 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of Templates: time 0.03277/1.536, allocations: 18.91 MB / 1.043 GB, free: 12.09 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