Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/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.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001136/0.001136, allocations: 93.73 kB / 16.33 MB, free: 6.414 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.001065/0.001065, allocations: 188.4 kB / 17.23 MB, free: 6.305 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.514/1.514, allocations: 223.3 MB / 241.2 MB, free: 14.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.775/0.775, allocations: 114.3 MB / 406.7 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003633, allocations: 8 kB / 494.5 MB, free: 1.43 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5206/0.521, allocations: 77.25 MB / 0.5583 GB, free: 35.99 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2255/0.7465, allocations: 176.6 MB / 0.7308 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01031/0.7569, allocations: 6.561 MB / 0.7372 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.7584, allocations: 39.69 kB / 0.7372 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.76, allocations: 468.8 kB / 0.7377 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004899/0.765, allocations: 1.687 MB / 0.7393 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003058/0.768, allocations: 1.079 MB / 0.7404 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004866/0.7729, allocations: 3.207 MB / 0.7435 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.7744, allocations: 0.6817 MB / 0.7442 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.7768, allocations: 0.9453 MB / 0.7451 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.7784, allocations: 0.7352 MB / 0.7458 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.7786, allocations: 48 kB / 0.7458 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003892/0.7825, allocations: 1.22 MB / 0.747 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004665/0.783, allocations: 298.9 kB / 0.7473 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004936/0.7835, allocations: 241.1 kB / 0.7476 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002665/0.7862, allocations: 1.609 MB / 0.7491 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.7862, allocations: 4 kB / 0.7491 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.027e-06/0.7862, allocations: 0 / 0.7491 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.319e-05/0.7862, allocations: 0 / 0.7491 GB, free: 1.141 MB / 0.5762 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.3685/1.155, allocations: 1.389 MB / 0.7505 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/1.155, allocations: 9.719 kB / 0.7505 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003739/1.159, allocations: 0.6018 MB / 0.7511 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/1.161, allocations: 0.9563 MB / 0.752 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001193/1.163, allocations: 320.9 kB / 0.7523 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002536/1.163, allocations: 68.66 kB / 0.7524 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/1.166, allocations: 1.151 MB / 0.7535 GB, free: 174 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/1.166, allocations: 0.9375 kB / 0.7535 GB, free: 174 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.535e-05/1.166, allocations: 26.31 kB / 0.7535 GB, free: 174 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-05/1.166, allocations: 34.19 kB / 0.7536 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003462/1.169, allocations: 1.251 MB / 0.7548 GB, free: 173.6 MB / 0.5762 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.006107/1.176, allocations: 3.249 MB / 0.758 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/1.177, allocations: 0.7024 MB / 0.7587 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000812/1.178, allocations: 429 kB / 0.7591 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007213/1.179, allocations: 1.019 MB / 0.7601 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/1.18, allocations: 0.5257 MB / 0.7606 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=57): time 2.404e-06/1.18, allocations: 0 / 0.7606 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=57): time 0.003546/1.183, allocations: 1.233 MB / 0.7618 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/1.184, allocations: 149.8 kB / 0.7619 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/1.186, allocations: 1.21 MB / 0.7631 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/1.186, allocations: 39.05 kB / 0.7631 GB, free: 169 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000426/1.187, allocations: 439.7 kB / 0.7636 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/1.187, allocations: 187.5 kB / 0.7637 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/1.187, allocations: 11.44 kB / 0.7637 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001067/1.187, allocations: 326 kB / 0.7641 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/1.189, allocations: 490.2 kB / 0.7645 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/1.19, allocations: 0.6364 MB / 0.7651 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/1.191, allocations: 0.5348 MB / 0.7657 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.191, allocations: 1.156 kB / 0.7657 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003261/1.195, allocations: 1.28 MB / 0.7669 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/1.195, allocations: 43.14 kB / 0.767 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.195, allocations: 4.703 kB / 0.767 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/1.195, allocations: 7.594 kB / 0.767 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009515/1.196, allocations: 206.6 kB / 0.7672 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/1.196, allocations: 10.53 kB / 0.7672 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/1.198, allocations: 314.1 kB / 0.7675 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.95e-05/1.198, allocations: 38.86 kB / 0.7675 GB, free: 167 MB / 0.5762 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.000564/1.198, allocations: 330.1 kB / 0.7678 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/1.198, allocations: 116.8 kB / 0.7679 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/1.201, allocations: 1.01 MB / 0.7689 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/1.201, allocations: 15.22 kB / 0.7689 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.201, allocations: 1.703 kB / 0.7689 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/1.201, allocations: 3.844 kB / 0.7689 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005182/1.206, allocations: 3.17 MB / 0.772 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/1.206, allocations: 12.72 kB / 0.7721 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/1.206, allocations: 117.2 kB / 0.7722 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.76e-05/1.206, allocations: 15.47 kB / 0.7722 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.187e-05/1.207, allocations: 25.27 kB / 0.7722 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.736e-05/1.207, allocations: 17.27 kB / 0.7722 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/1.207, allocations: 7.688 kB / 0.7722 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/1.209, allocations: 1.356 MB / 0.7736 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005608/1.209, allocations: 336.1 kB / 0.7739 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/1.209, allocations: 23.77 kB / 0.7739 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/1.211, allocations: 134.3 kB / 0.774 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/1.211, allocations: 60.75 kB / 0.7741 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.075e-05/1.211, allocations: 38.97 kB / 0.7741 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001684/1.212, allocations: 0.8804 MB / 0.775 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/1.212, allocations: 0 / 0.775 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001213/1.214, allocations: 293 kB / 0.7753 GB, free: 163.1 MB / 0.5762 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.0007643/1.214, allocations: 342.6 kB / 0.7756 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002436/1.217, allocations: 1.049 MB / 0.7766 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.217, allocations: 1.062 kB / 0.7766 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009503/1.218, allocations: 0.5166 MB / 0.7771 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/1.221, allocations: 0.539 MB / 0.7776 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/1.224, allocations: 2.326 MB / 0.7799 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007321/1.225, allocations: 1.066 MB / 0.781 GB, free: 160 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/1.225, allocations: 87.19 kB / 0.781 GB, free: 160 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/1.225, allocations: 7.656 kB / 0.781 GB, free: 160 MB / 0.5762 GB Notification: Performance of Templates: time 0.03064/1.256, allocations: 18.59 MB / 0.7992 GB, free: 146.4 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile make -j1 -f IBPSA_latest_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 OMCppIBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.o] Error 1