Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, 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.001721/0.001721, 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.513/1.513, allocations: 223.2 MB / 240.6 MB, free: 5.422 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.518/2.518, allocations: 390.4 MB / 0.6662 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003945, allocations: 12 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8639/0.8643, allocations: 142.3 MB / 0.9544 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00125/0.8656, allocations: 0.9744 MB / 0.9554 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008724/0.8665, allocations: 0.5368 MB / 0.9559 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.026e-05/0.8666, allocations: 0 / 0.9559 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.8666, allocations: 0 / 0.9559 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.315e-05/0.8666, allocations: 0 / 0.9559 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.8671, allocations: 122.5 kB / 0.956 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.748e-05/0.8671, allocations: 11.58 kB / 0.956 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.8672, allocations: 1.969 kB / 0.956 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.168e-05/0.8672, allocations: 5.688 kB / 0.956 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.747e-05/0.8673, allocations: 6.234 kB / 0.956 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.8673, allocations: 1.344 kB / 0.956 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005149/0.8678, allocations: 330.2 kB / 0.9563 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.8678, allocations: 9.016 kB / 0.9564 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.8679, allocations: 26.92 kB / 0.9564 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.8681, allocations: 90.72 kB / 0.9565 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8681, allocations: 9.406 kB / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8681, allocations: 0 / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.8681, allocations: 0 / 0.9565 GB, free: 6.555 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003648/0.8685, allocations: 341.8 kB / 0.9568 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.8685, allocations: 8.938 kB / 0.9568 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.8686, allocations: 9.172 kB / 0.9568 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.654e-05/0.8687, allocations: 164.1 kB / 0.957 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.8687, allocations: 0 / 0.957 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-06/0.8687, allocations: 1.094 kB / 0.957 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.232e-05/0.8688, allocations: 36.8 kB / 0.957 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.8688, allocations: 0.875 kB / 0.957 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.8688, allocations: 0 / 0.957 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.8689, allocations: 0.9688 kB / 0.957 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.791e-05/0.8689, allocations: 6.078 kB / 0.957 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.869, allocations: 153 kB / 0.9572 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.711e-05/0.8691, allocations: 23.8 kB / 0.9572 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.8691, allocations: 15.36 kB / 0.9572 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.8691, allocations: 9.203 kB / 0.9572 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.8692, allocations: 34.5 kB / 0.9572 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.8692, allocations: 0 / 0.9572 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001412/0.8693, allocations: 43.47 kB / 0.9573 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.8694, allocations: 52.81 kB / 0.9573 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.135e-05/0.8694, allocations: 96.61 kB / 0.9574 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/0.8694, allocations: 25.7 kB / 0.9575 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.583e-05/0.8695, allocations: 84.14 kB / 0.9575 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.8695, allocations: 13.08 kB / 0.9575 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.8695, allocations: 0 / 0.9575 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.8696, allocations: 316.3 kB / 0.9578 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.8696, allocations: 1.312 kB / 0.9578 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-06/0.8696, allocations: 6.875 kB / 0.9579 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.892e-05/0.8696, allocations: 10.53 kB / 0.9579 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8696, allocations: 4 kB / 0.9579 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.674e-05/0.8697, allocations: 33.42 kB / 0.9579 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.8697, allocations: 10.3 kB / 0.9579 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.8697, allocations: 0 / 0.9579 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.8697, allocations: 0 / 0.9579 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.8699, allocations: 7.281 kB / 0.9579 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002617/0.8702, allocations: 0.5875 MB / 0.9585 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.863e-05/0.8702, allocations: 12.05 kB / 0.9585 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.8702, allocations: 1.25 kB / 0.9585 GB, free: 4.336 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.051e-05/0.8703, allocations: 111 kB / 0.9586 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.8703, allocations: 1.156 kB / 0.9586 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.963e-05/0.8704, allocations: 49.19 kB / 0.9587 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.8704, allocations: 3.953 kB / 0.9587 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8704, allocations: 1.219 kB / 0.9587 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.8704, allocations: 4.031 kB / 0.9587 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.818e-05/0.8705, allocations: 145.4 kB / 0.9588 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.8705, allocations: 0 / 0.9588 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.8706, allocations: 11.52 kB / 0.9588 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.8706, allocations: 0 / 0.9588 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.8706, allocations: 1.031 kB / 0.9588 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001836/0.8708, allocations: 0.5902 MB / 0.9594 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8708, allocations: 5.422 kB / 0.9594 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.462e-05/0.8709, allocations: 66.09 kB / 0.9595 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.8709, allocations: 78.45 kB / 0.9595 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.8709, allocations: 3.953 kB / 0.9595 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.349e-05/0.8709, allocations: 0 / 0.9595 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.8709, allocations: 9.172 kB / 0.9595 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.8709, allocations: 0.9375 kB / 0.9595 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.11e-05/0.871, allocations: 85.94 kB / 0.9596 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.871, allocations: 0 / 0.9596 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001963/0.8712, allocations: 10.59 kB / 0.9596 GB, free: 3.102 MB / 0.7169 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001622/0.8713, allocations: 107.3 kB / 0.9597 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.8715, allocations: 21.27 kB / 0.9598 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8715, allocations: 3.938 kB / 0.9598 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.285e-05/0.8716, allocations: 14.72 kB / 0.9598 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.8717, allocations: 8.016 kB / 0.9598 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.8721, allocations: 136.9 kB / 0.9599 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.8722, allocations: 0.672 MB / 0.9606 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.8722, allocations: 7.438 kB / 0.9606 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8722, allocations: 1.031 kB / 0.9606 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of Templates: time 0.002546/0.8748, allocations: 0.6877 MB / 0.9613 GB, free: 1.793 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flowCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flowCalcHelperMain.o] Error 1