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.0008333/0.0008333, allocations: 100.5 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.001109/0.001109, allocations: 178.8 kB / 16.58 MB, free: 6.879 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.703/1.703, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.872/1.872, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0008045/0.0008046, allocations: 17.12 kB / 0.6743 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3535, allocations: 116.3 MB / 0.7879 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.9471/1.301, allocations: 176.6 MB / 0.9604 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01261/1.313, allocations: 6.509 MB / 0.9667 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002747/1.316, allocations: 34.84 kB / 0.9668 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002148/1.318, allocations: 479.7 kB / 0.9672 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006993/1.325, allocations: 1.653 MB / 0.9688 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004228/1.33, allocations: 1.086 MB / 0.9699 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006908/1.337, allocations: 3.163 MB / 0.973 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/1.339, allocations: 0.658 MB / 0.9736 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003597/1.342, allocations: 0.9504 MB / 0.9746 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/1.345, allocations: 0.7447 MB / 0.9753 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002696/1.345, allocations: 41.25 kB / 0.9753 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004891/1.35, allocations: 1.22 MB / 0.9765 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006472/1.351, allocations: 302.2 kB / 0.9768 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007255/1.352, allocations: 239.6 kB / 0.977 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003359/1.355, allocations: 1.633 MB / 0.9786 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/1.355, allocations: 0 / 0.9786 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.066e-06/1.355, allocations: 1.859 kB / 0.9786 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.928e-05/1.355, allocations: 0 / 0.9786 GB, free: 2.176 MB / 0.7169 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.00421/1.359, allocations: 1.418 MB / 0.98 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/1.359, allocations: 9.719 kB / 0.98 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/1.362, allocations: 0.6116 MB / 0.9806 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/1.365, allocations: 0.9638 MB / 0.9816 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009937/1.366, allocations: 320.4 kB / 0.9819 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/1.366, allocations: 67.72 kB / 0.9819 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/1.369, allocations: 1.159 MB / 0.9831 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/1.369, allocations: 1 kB / 0.9831 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.551e-05/1.369, allocations: 34.62 kB / 0.9831 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.893e-05/1.369, allocations: 31.98 kB / 0.9831 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003097/1.372, allocations: 1.331 MB / 0.9844 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006407/1.378, allocations: 2.97 MB / 0.9873 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/1.38, allocations: 0.7379 MB / 0.9881 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008255/1.381, allocations: 458.6 kB / 0.9885 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/1.382, allocations: 1.025 MB / 0.9895 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/1.383, allocations: 0.5395 MB / 0.99 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=59): time 3.807e-06/1.383, allocations: 0 / 0.99 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59): time 0.003514/1.387, allocations: 1.283 MB / 0.9913 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/1.387, allocations: 115.8 kB / 0.9914 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/1.389, allocations: 1.206 MB / 0.9926 GB, free: 12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/1.39, allocations: 40.2 kB / 0.9926 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004734/1.39, allocations: 437.2 kB / 0.993 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/1.39, allocations: 194.7 kB / 0.9932 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/1.39, allocations: 12.59 kB / 0.9932 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002156/1.391, allocations: 328.7 kB / 0.9935 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/1.392, allocations: 0.495 MB / 0.994 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/1.393, allocations: 0.6372 MB / 0.9946 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/1.395, allocations: 0.5496 MB / 0.9952 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/1.395, allocations: 3.188 kB / 0.9952 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003439/1.398, allocations: 1.311 MB / 0.9965 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.843e-05/1.398, allocations: 41.03 kB / 0.9965 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/1.398, allocations: 3.094 kB / 0.9965 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.294e-05/1.398, allocations: 9.375 kB / 0.9965 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009918/1.399, allocations: 209.2 kB / 0.9967 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.348e-05/1.399, allocations: 12.19 kB / 0.9967 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/1.401, allocations: 306.9 kB / 0.997 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/1.401, allocations: 37.31 kB / 0.997 GB, free: 10.29 MB / 0.7325 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 ($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 (69): * Single equations (assignments): 68 * 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.0008151/1.402, allocations: 319.7 kB / 0.9974 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/1.402, allocations: 122.9 kB / 0.9975 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/1.405, allocations: 1.071 MB / 0.9985 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/1.405, allocations: 6.094 kB / 0.9985 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.405, allocations: 0 / 0.9985 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/1.405, allocations: 3.984 kB / 0.9985 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005585/1.41, allocations: 3.228 MB / 1.002 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/1.41, allocations: 7.531 kB / 1.002 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/1.411, allocations: 136.8 kB / 1.002 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/1.411, allocations: 10.91 kB / 1.002 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.776e-05/1.411, allocations: 30.2 kB / 1.002 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.541e-05/1.411, allocations: 10.91 kB / 1.002 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-05/1.411, allocations: 21.62 kB / 1.002 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/1.414, allocations: 1.327 MB / 1.003 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006737/1.414, allocations: 333.7 kB / 1.003 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/1.414, allocations: 22.06 kB / 1.004 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009894/1.415, allocations: 124.2 kB / 1.004 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.416, allocations: 62.89 kB / 1.004 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-05/1.416, allocations: 41.94 kB / 1.004 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001654/1.417, allocations: 0.8814 MB / 1.005 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.5e-07/1.417, allocations: 4 kB / 1.005 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001295/1.419, allocations: 294.6 kB / 1.005 GB, free: 7.16 MB / 0.7325 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 (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.0008411/1.419, allocations: 350.2 kB / 1.005 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002695/1.422, allocations: 1.089 MB / 1.006 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.422, allocations: 0 / 1.006 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009795/1.423, allocations: 0.5355 MB / 1.007 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/1.426, allocations: 0.5372 MB / 1.007 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/1.43, allocations: 2.363 MB / 1.01 GB, free: 5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007953/1.431, allocations: 1.071 MB / 1.011 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003949/1.432, allocations: 94.62 kB / 1.011 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of SimCode: time 1.573e-06/1.432, allocations: 2.938 kB / 1.011 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of Templates: time 0.03646/1.468, allocations: 18.77 MB / 1.029 GB, free: 5.883 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile make -j1 -f Buildings_8_Buildings.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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