Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, 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.001416/0.001416, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.471/1.471, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.554/2.554, allocations: 390.5 MB / 0.6662 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003647, allocations: 8 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.895/0.8954, allocations: 142.3 MB / 0.9544 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1888/1.084, allocations: 150.9 MB / 1.102 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005937/1.09, allocations: 5.259 MB / 1.107 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003394/1.091, allocations: 11.94 kB / 1.107 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004921/1.091, allocations: 59.52 kB / 1.107 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002149/1.091, allocations: 47.67 kB / 1.107 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/1.092, allocations: 23.97 kB / 1.107 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003309/1.092, allocations: 227.2 kB / 1.107 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002442/1.092, allocations: 67.14 kB / 1.107 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/1.092, allocations: 79.64 kB / 1.107 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/1.093, allocations: 63.64 kB / 1.107 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/1.093, allocations: 4 kB / 1.107 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.741e-05/1.093, allocations: 0 / 1.107 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/1.093, allocations: 15.94 kB / 1.107 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.092e-05/1.093, allocations: 49.64 kB / 1.107 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/1.093, allocations: 123.6 kB / 1.108 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/1.093, allocations: 0 / 1.108 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.415e-06/1.093, allocations: 0 / 1.108 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.362e-06/1.093, allocations: 0 / 1.108 GB, free: 2.801 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007289/1.094, allocations: 415.1 kB / 1.108 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.094, allocations: 12.03 kB / 1.108 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/1.094, allocations: 15.81 kB / 1.108 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/1.094, allocations: 238.7 kB / 1.108 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/1.094, allocations: 8.234 kB / 1.108 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/1.094, allocations: 12 kB / 1.108 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/1.095, allocations: 178 kB / 1.108 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.095, allocations: 0 / 1.108 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/1.095, allocations: 8 kB / 1.108 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/1.095, allocations: 7.984 kB / 1.108 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/1.095, allocations: 67.84 kB / 1.109 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/1.096, allocations: 1.152 MB / 1.11 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/1.096, allocations: 181.1 kB / 1.11 GB, free: 332 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.698e-05/1.096, allocations: 88.14 kB / 1.11 GB, free: 240 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/1.096, allocations: 75.28 kB / 1.11 GB, free: 164 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.661e-05/1.096, allocations: 109.8 kB / 1.11 GB, free: 44 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/1.096, allocations: 0 / 1.11 GB, free: 44 kB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001273/1.096, allocations: 45.52 kB / 1.11 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.949e-05/1.096, allocations: 182.1 kB / 1.11 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/1.097, allocations: 249 kB / 1.111 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/1.097, allocations: 29.64 kB / 1.111 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/1.097, allocations: 127.9 kB / 1.111 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-06/1.097, allocations: 0 / 1.111 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/1.097, allocations: 11.94 kB / 1.111 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.097, allocations: 322.8 kB / 1.111 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.182e-05/1.097, allocations: 11.98 kB / 1.111 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.912e-05/1.097, allocations: 63.72 kB / 1.111 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.138e-05/1.097, allocations: 16 kB / 1.111 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.097, allocations: 7.953 kB / 1.111 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001796/1.097, allocations: 89.36 kB / 1.111 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.097, allocations: 8 kB / 1.111 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/1.097, allocations: 0 / 1.111 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.097, allocations: 4 kB / 1.111 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.393e-05/1.097, allocations: 4 kB / 1.111 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/1.097, allocations: 7.938 kB / 1.111 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.55e-05/1.098, allocations: 11.84 kB / 1.111 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/1.098, allocations: 8.156 kB / 1.111 GB, free: 14.78 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001421/1.098, allocations: 205 kB / 1.111 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-05/1.098, allocations: 124.8 kB / 1.112 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.688e-05/1.098, allocations: 121.8 kB / 1.112 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-05/1.098, allocations: 176.3 kB / 1.112 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-05/1.098, allocations: 192.2 kB / 1.112 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.959e-05/1.098, allocations: 180.3 kB / 1.112 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/1.098, allocations: 445.2 kB / 1.113 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.809e-05/1.098, allocations: 108.9 kB / 1.113 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/1.098, allocations: 104.9 kB / 1.113 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.809e-05/1.099, allocations: 184.2 kB / 1.113 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/1.099, allocations: 180.3 kB / 1.113 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.447e-05/1.099, allocations: 176.3 kB / 1.113 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.991e-05/1.099, allocations: 192.2 kB / 1.114 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/1.099, allocations: 319.8 kB / 1.114 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/1.099, allocations: 197.9 kB / 1.114 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.099e-05/1.099, allocations: 188.2 kB / 1.114 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/1.099, allocations: 104.9 kB / 1.114 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/1.099, allocations: 176.3 kB / 1.114 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/1.099, allocations: 108.9 kB / 1.115 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001693/1.1, allocations: 188.4 kB / 1.115 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.1, allocations: 0 / 1.115 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002462/1.1, allocations: 31.91 kB / 1.115 GB, free: 10.93 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001333/1.1, allocations: 166.5 kB / 1.115 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001027/1.1, allocations: 23.92 kB / 1.115 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.1, allocations: 4 kB / 1.115 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/1.1, allocations: 0 / 1.115 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006266/1.101, allocations: 0.5771 MB / 1.116 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/1.101, allocations: 373.2 kB / 1.116 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/1.101, allocations: 0.7166 MB / 1.117 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/1.102, allocations: 15.44 kB / 1.117 GB, free: 9 MB / 0.8731 GB Notification: Performance of SimCode: time 5.51e-07/1.102, allocations: 3.938 kB / 1.117 GB, free: 8.996 MB / 0.8731 GB Notification: Performance of Templates: time 0.004395/1.106, allocations: 1.969 MB / 1.119 GB, free: 7.039 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile make -j1 -f Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.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_9_Buildings.Fluid.FMI.Validation.FlowSplitter_uCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_uCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_uCalcHelperMain.o] Error 1