Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_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.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 103 kB / 15.71 MB, free: 460 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.00165/0.001651, allocations: 177.8 kB / 16.58 MB, free: 6.109 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.559/1.559, allocations: 223.2 MB / 240.6 MB, free: 5.262 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.574/2.574, allocations: 390.4 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000444/0.000444, allocations: 16 kB / 0.8154 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8906/0.891, allocations: 142.3 MB / 0.9544 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.337/1.228, allocations: 295.8 MB / 1.243 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8875/2.116, allocations: 18.89 MB / 1.262 GB, free: 75.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004172/2.12, allocations: 75.77 kB / 1.262 GB, free: 75.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004159/2.124, allocations: 0.9626 MB / 1.263 GB, free: 75.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01242/2.137, allocations: 3.111 MB / 1.266 GB, free: 75.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007959/2.145, allocations: 1.797 MB / 1.267 GB, free: 75.22 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0151/2.16, allocations: 6.78 MB / 1.274 GB, free: 75.2 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005938/2.166, allocations: 1.588 MB / 1.276 GB, free: 75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01024/2.176, allocations: 2.565 MB / 1.278 GB, free: 74.97 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006467/2.182, allocations: 1.697 MB / 1.28 GB, free: 74.97 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001753/2.184, allocations: 93.69 kB / 1.28 GB, free: 74.97 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/2.196, allocations: 2.203 MB / 1.282 GB, free: 74.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002856/2.199, allocations: 0.7434 MB / 1.283 GB, free: 74.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002977/2.202, allocations: 0.5109 MB / 1.283 GB, free: 74.9 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008121/2.21, allocations: 3.34 MB / 1.287 GB, free: 74.64 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/2.21, allocations: 7 kB / 1.287 GB, free: 74.64 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.164e-06/2.21, allocations: 0 / 1.287 GB, free: 74.64 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000174/2.21, allocations: 0 / 1.287 GB, free: 74.64 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.008583/2.219, allocations: 2.568 MB / 1.289 GB, free: 73.26 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/2.219, allocations: 8 kB / 1.289 GB, free: 73.26 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007248/2.226, allocations: 1.059 MB / 1.29 GB, free: 73.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007074/2.233, allocations: 1.881 MB / 1.292 GB, free: 72.61 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004842/2.234, allocations: 182 kB / 1.292 GB, free: 72.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008197/2.235, allocations: 150.8 kB / 1.292 GB, free: 72.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006152/2.241, allocations: 1.783 MB / 1.294 GB, free: 72.42 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-05/2.241, allocations: 6.531 kB / 1.294 GB, free: 72.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003078/2.241, allocations: 55.22 kB / 1.294 GB, free: 72.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.392e-05/2.241, allocations: 48.3 kB / 1.294 GB, free: 72.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004897/2.246, allocations: 1.706 MB / 1.296 GB, free: 72.36 MB / 0.9981 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.01612/2.262, allocations: 8.005 MB / 1.304 GB, free: 68.45 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/2.265, allocations: 1.218 MB / 1.305 GB, free: 68.21 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/2.267, allocations: 0.6325 MB / 1.305 GB, free: 68.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/2.267, allocations: 115 kB / 1.305 GB, free: 68.08 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/2.267, allocations: 39.06 kB / 1.306 GB, free: 68.04 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001758/2.269, allocations: 205.6 kB / 1.306 GB, free: 67.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=77): time 9.318e-06/2.269, allocations: 0 / 1.306 GB, free: 67.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=77): time 0.005518/2.275, allocations: 1.729 MB / 1.307 GB, free: 67.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/2.275, allocations: 57.25 kB / 1.307 GB, free: 67.74 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004616/2.279, allocations: 1.812 MB / 1.309 GB, free: 67.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000242/2.28, allocations: 57.11 kB / 1.309 GB, free: 67.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001144/2.281, allocations: 0.981 MB / 1.31 GB, free: 67.17 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004307/2.281, allocations: 269.1 kB / 1.311 GB, free: 67 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.951e-05/2.281, allocations: 23.59 kB / 1.311 GB, free: 67 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001218/2.282, allocations: 347 kB / 1.311 GB, free: 66.69 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/2.283, allocations: 0.5322 MB / 1.311 GB, free: 66.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/2.285, allocations: 0.9468 MB / 1.312 GB, free: 66.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/2.286, allocations: 0.6266 MB / 1.313 GB, free: 66.15 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.43e-05/2.286, allocations: 2.938 kB / 1.313 GB, free: 66.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004226/2.291, allocations: 1.616 MB / 1.315 GB, free: 65.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000295/2.291, allocations: 372.8 kB / 1.315 GB, free: 65.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/2.291, allocations: 13.41 kB / 1.315 GB, free: 65.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.902e-05/2.291, allocations: 16.59 kB / 1.315 GB, free: 65.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/2.293, allocations: 333.3 kB / 1.315 GB, free: 65.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003418/2.293, allocations: 0.6139 MB / 1.316 GB, free: 64.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/2.295, allocations: 208.3 kB / 1.316 GB, free: 64.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/2.296, allocations: 57.36 kB / 1.316 GB, free: 64.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/2.296, allocations: 7.438 kB / 1.316 GB, free: 64.91 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00292/2.298, allocations: 1.301 MB / 1.317 GB, free: 64.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/2.299, allocations: 8.906 kB / 1.317 GB, free: 64.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/2.299, allocations: 18.06 kB / 1.317 GB, free: 64.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/2.3, allocations: 281.8 kB / 1.318 GB, free: 64.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.082e-05/2.3, allocations: 27.28 kB / 1.318 GB, free: 64.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/2.302, allocations: 188.8 kB / 1.318 GB, free: 64.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/2.302, allocations: 56.39 kB / 1.318 GB, free: 64.85 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (125): * Single equations (assignments): 122 * Array equations: 2 * 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 0.001442/2.304, allocations: 0.5829 MB / 1.318 GB, free: 64.65 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007117/2.304, allocations: 193.5 kB / 1.319 GB, free: 64.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003635/2.308, allocations: 1.332 MB / 1.32 GB, free: 64.26 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/2.308, allocations: 7.938 kB / 1.32 GB, free: 64.26 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/2.308, allocations: 6.594 kB / 1.32 GB, free: 64.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002756/2.311, allocations: 1.155 MB / 1.321 GB, free: 63.9 MB / 0.9981 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 postOpt removeSimpleEquations (simulation): time 0.0101/2.321, allocations: 3.357 MB / 1.324 GB, free: 62.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/2.321, allocations: 3.281 kB / 1.324 GB, free: 62.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/2.322, allocations: 251 kB / 1.325 GB, free: 62.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.032e-05/2.322, allocations: 6.906 kB / 1.325 GB, free: 62.56 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.089e-05/2.322, allocations: 21.95 kB / 1.325 GB, free: 62.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002509/2.323, allocations: 0.5955 MB / 1.325 GB, free: 61.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/2.323, allocations: 13.14 kB / 1.325 GB, free: 61.96 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004735/2.327, allocations: 2.011 MB / 1.327 GB, free: 61.37 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/2.329, allocations: 373.6 kB / 1.328 GB, free: 61.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006401/2.329, allocations: 18.34 kB / 1.328 GB, free: 61.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002012/2.331, allocations: 177.6 kB / 1.328 GB, free: 61.06 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/2.332, allocations: 57.75 kB / 1.328 GB, free: 61.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.126e-05/2.332, allocations: 37.5 kB / 1.328 GB, free: 61.03 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002828/2.334, allocations: 1.226 MB / 1.329 GB, free: 60.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/2.334, allocations: 0 / 1.329 GB, free: 60.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004752/2.339, allocations: 1.005 MB / 1.33 GB, free: 60.54 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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 (79): * Single equations (assignments): 78 * 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.001243/2.34, allocations: 366.2 kB / 1.33 GB, free: 60.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005272/2.346, allocations: 1.942 MB / 1.332 GB, free: 60.04 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/2.346, allocations: 2.062 kB / 1.332 GB, free: 60.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/2.347, allocations: 0.5912 MB / 1.333 GB, free: 59.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005979/2.353, allocations: 1.035 MB / 1.334 GB, free: 59.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008979/2.362, allocations: 4.512 MB / 1.338 GB, free: 57.11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/2.364, allocations: 1.566 MB / 1.34 GB, free: 56.06 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008258/2.365, allocations: 162.3 kB / 1.34 GB, free: 56.04 MB / 0.9981 GB Notification: Performance of SimCode: time 1.262e-06/2.365, allocations: 0 / 1.34 GB, free: 56.04 MB / 0.9981 GB Notification: Performance of Templates: time 0.05968/2.425, allocations: 44.09 MB / 1.383 GB, free: 16.75 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_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/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 OMCppBuildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flowCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flowCalcHelperMain.o] Error 1