Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008013/0.0008015, allocations: 101.4 kB / 16.33 MB, free: 5.938 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.0008523/0.0008524, allocations: 189.8 kB / 17.23 MB, free: 5.863 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.476/1.476, allocations: 223.2 MB / 241.2 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6919/0.6919, allocations: 114.3 MB / 406.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000306/0.000306, allocations: 12 kB / 494.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1931, allocations: 77.26 MB / 0.5583 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.02027/0.2134, allocations: 19.09 MB / 0.577 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008914/0.2224, allocations: 5.046 MB / 0.5819 GB, free: 2.707 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.2236, allocations: 19.88 kB / 0.5819 GB, free: 2.688 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.2248, allocations: 258.4 kB / 0.5821 GB, free: 2.434 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003011/0.2278, allocations: 0.7566 MB / 0.5829 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.2305, allocations: 0.7566 MB / 0.5836 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3798/0.6103, allocations: 1.943 MB / 0.5855 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.6116, allocations: 399.4 kB / 0.5859 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.6134, allocations: 0.5922 MB / 0.5865 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.6145, allocations: 468.9 kB / 0.5869 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.002e-05/0.6146, allocations: 22.19 kB / 0.5869 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.6175, allocations: 0.9529 MB / 0.5879 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.6178, allocations: 120 kB / 0.588 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003369/0.6181, allocations: 138.5 kB / 0.5881 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.6199, allocations: 0.826 MB / 0.5889 GB, free: 12.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.6199, allocations: 0 / 0.5889 GB, free: 12.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.6199, allocations: 5.031 kB / 0.5889 GB, free: 12.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.62, allocations: 0 / 0.5889 GB, free: 12.02 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002355/0.6223, allocations: 0.933 MB / 0.5898 GB, free: 27.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.6224, allocations: 9.375 kB / 0.5899 GB, free: 27.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009706/0.6234, allocations: 199.6 kB / 0.59 GB, free: 27.31 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.6246, allocations: 0.5371 MB / 0.5906 GB, free: 27.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/0.625, allocations: 99.09 kB / 0.5907 GB, free: 27.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-05/0.6251, allocations: 39.11 kB / 0.5907 GB, free: 27.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.6263, allocations: 0.4947 MB / 0.5912 GB, free: 26.97 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.6263, allocations: 6.5 kB / 0.5912 GB, free: 26.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-05/0.6264, allocations: 18.47 kB / 0.5912 GB, free: 26.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.6264, allocations: 10.25 kB / 0.5912 GB, free: 26.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.6275, allocations: 425 kB / 0.5916 GB, free: 26.95 MB / 462.1 MB 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.003516/0.631, allocations: 2.301 MB / 0.5939 GB, free: 25.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.6321, allocations: 394.5 kB / 0.5942 GB, free: 25.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005431/0.6327, allocations: 232.9 kB / 0.5945 GB, free: 25.47 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.633, allocations: 342.3 kB / 0.5948 GB, free: 25.1 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007103/0.6337, allocations: 309.3 kB / 0.5951 GB, free: 25.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 3.006e-06/0.6337, allocations: 3.188 kB / 0.5951 GB, free: 25.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002486/0.6362, allocations: 0.8866 MB / 0.596 GB, free: 24.79 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.6363, allocations: 83.22 kB / 0.596 GB, free: 24.69 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007707/0.6371, allocations: 493.6 kB / 0.5965 GB, free: 24.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.6371, allocations: 33.33 kB / 0.5965 GB, free: 24.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.6374, allocations: 283.5 kB / 0.5968 GB, free: 24.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.6375, allocations: 106.3 kB / 0.5969 GB, free: 24.34 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.6375, allocations: 4.375 kB / 0.5969 GB, free: 24.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.6377, allocations: 365.8 kB / 0.5973 GB, free: 24.03 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/0.6382, allocations: 183.6 kB / 0.5974 GB, free: 24.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/0.6388, allocations: 274.3 kB / 0.5977 GB, free: 23.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.6393, allocations: 216.6 kB / 0.5979 GB, free: 23.89 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6393, allocations: 4 kB / 0.5979 GB, free: 23.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001558/0.6409, allocations: 0.6327 MB / 0.5985 GB, free: 23.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.641, allocations: 173.1 kB / 0.5987 GB, free: 23.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.641, allocations: 8.781 kB / 0.5987 GB, free: 23.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003954/0.6414, allocations: 64.59 kB / 0.5988 GB, free: 23.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/0.6419, allocations: 83.89 kB / 0.5988 GB, free: 23.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005521/0.6425, allocations: 0.6009 MB / 0.5994 GB, free: 23.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006452/0.6431, allocations: 77.42 kB / 0.5995 GB, free: 23.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.6432, allocations: 20.8 kB / 0.5995 GB, free: 23.03 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.6432, allocations: 3.5 kB / 0.5995 GB, free: 23.03 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0014/0.6446, allocations: 0.5664 MB / 0.6001 GB, free: 22.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6446, allocations: 0 / 0.6001 GB, free: 22.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/0.6448, allocations: 52.55 kB / 0.6001 GB, free: 22.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.6452, allocations: 82 kB / 0.6002 GB, free: 22.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.6469, allocations: 1.626 MB / 0.6018 GB, free: 21.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/0.6475, allocations: 76.88 kB / 0.6019 GB, free: 21.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.6476, allocations: 20.66 kB / 0.6019 GB, free: 21.53 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005481/0.6481, allocations: 303.5 kB / 0.6022 GB, free: 21.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.6483, allocations: 56.62 kB / 0.6022 GB, free: 21.28 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/0.6498, allocations: 0.6685 MB / 0.6029 GB, free: 21.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.6499, allocations: 5.547 kB / 0.6029 GB, free: 21.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.6499, allocations: 4 kB / 0.6029 GB, free: 21.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001286/0.6512, allocations: 0.81 MB / 0.6037 GB, free: 20.76 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/0.6538, allocations: 1.325 MB / 0.605 GB, free: 20.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.6538, allocations: 1.469 kB / 0.605 GB, free: 20.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/0.6542, allocations: 71.56 kB / 0.6051 GB, free: 20.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001443/0.6543, allocations: 45.77 kB / 0.6051 GB, free: 20.34 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.6544, allocations: 11.05 kB / 0.6051 GB, free: 20.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004331/0.6548, allocations: 0.5797 MB / 0.6057 GB, free: 19.82 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.6548, allocations: 5.547 kB / 0.6057 GB, free: 19.81 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.6569, allocations: 0.9948 MB / 0.6067 GB, free: 19.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004057/0.6574, allocations: 190 kB / 0.6068 GB, free: 19.42 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.6575, allocations: 9.266 kB / 0.6068 GB, free: 19.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006688/0.6582, allocations: 66.61 kB / 0.6069 GB, free: 19.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.6583, allocations: 20.66 kB / 0.6069 GB, free: 19.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.177e-05/0.6583, allocations: 21.77 kB / 0.6069 GB, free: 19.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000623/0.659, allocations: 341.3 kB / 0.6073 GB, free: 19.33 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.659, allocations: 0 / 0.6073 GB, free: 19.33 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001842/0.6608, allocations: 345 kB / 0.6076 GB, free: 19.29 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001037/0.6619, allocations: 295.3 kB / 0.6079 GB, free: 19.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002747/0.6646, allocations: 1.005 MB / 0.6089 GB, free: 18.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6647, allocations: 0 / 0.6089 GB, free: 18.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007428/0.6654, allocations: 329.9 kB / 0.6092 GB, free: 18.83 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.6669, allocations: 248.3 kB / 0.6094 GB, free: 18.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.6697, allocations: 1.386 MB / 0.6108 GB, free: 18.13 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006526/0.6704, allocations: 0.8755 MB / 0.6116 GB, free: 17.42 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.6706, allocations: 52.86 kB / 0.6117 GB, free: 17.41 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6706, allocations: 0 / 0.6117 GB, free: 17.41 MB / 462.1 MB Notification: Performance of Templates: time 0.02223/0.6929, allocations: 11.41 MB / 0.6228 GB, free: 12.95 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.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 OMCppIBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquationCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquationCalcHelperMain.o] Error 1