Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, 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.0013/0.0013, allocations: 178.9 kB / 16.58 MB, free: 6.402 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.449/1.449, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.749/2.749, allocations: 436.7 MB / 0.7113 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004956/0.0004959, allocations: 16 kB / 0.8717 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7452/0.7457, allocations: 153.7 MB / 1.022 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001167/0.747, allocations: 0.52 MB / 1.022 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001157/0.7471, allocations: 39.78 kB / 1.022 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.7471, allocations: 0 / 1.022 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.7472, allocations: 3.938 kB / 1.022 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.011e-05/0.7473, allocations: 7.938 kB / 1.022 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.446e-05/0.7473, allocations: 11.98 kB / 1.022 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.78e-05/0.7474, allocations: 59.84 kB / 1.022 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.7476, allocations: 40.14 kB / 1.022 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.024e-05/0.7476, allocations: 15.86 kB / 1.022 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.61e-05/0.7477, allocations: 19.86 kB / 1.022 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.7477, allocations: 4 kB / 1.022 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.714e-06/0.7477, allocations: 0 / 1.022 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.7477, allocations: 7.938 kB / 1.022 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.07e-05/0.7478, allocations: 33.64 kB / 1.022 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.617e-05/0.7479, allocations: 55.89 kB / 1.023 GB, free: 264 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.7479, allocations: 3.938 kB / 1.023 GB, free: 260 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7479, allocations: 0 / 1.023 GB, free: 260 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.7479, allocations: 0 / 1.023 GB, free: 260 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004599/0.7484, allocations: 369 kB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.7484, allocations: 11.98 kB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.7485, allocations: 11.81 kB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.7487, allocations: 190.9 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.7487, allocations: 15.94 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.7487, allocations: 4 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.7489, allocations: 95.25 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.7489, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.7489, allocations: 11.98 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.7489, allocations: 0 / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.939e-05/0.749, allocations: 35.92 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/0.7496, allocations: 432.6 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.305e-05/0.7497, allocations: 37.28 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.7497, allocations: 21.84 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.7497, allocations: 4 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.7498, allocations: 34.55 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.7498, allocations: 0 / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001806/0.75, allocations: 57.5 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.75, allocations: 77.11 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.7502, allocations: 164.8 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.7502, allocations: 33.95 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.7503, allocations: 107.9 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.063e-05/0.7503, allocations: 7.844 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.7503, allocations: 0 / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.7504, allocations: 322.8 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.7504, allocations: 0 / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/0.7505, allocations: 21.72 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.756e-05/0.7505, allocations: 12 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7505, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.373e-05/0.7506, allocations: 61.47 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.7506, allocations: 5.719 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.7506, allocations: 4 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.7507, allocations: 3.953 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.7507, allocations: 4.094 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.7507, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.7508, allocations: 11.98 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.7508, allocations: 4.047 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 8.764e-05/0.7509, allocations: 117.8 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.7509, allocations: 7.906 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.751, allocations: 11.88 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.751, allocations: 0 / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.751, allocations: 3.953 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.751, allocations: 4 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003725/0.7514, allocations: 474.7 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.7514, allocations: 11.92 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.7514, allocations: 0 / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.7514, allocations: 7.953 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.7514, allocations: 0 / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.7514, allocations: 3.938 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7514, allocations: 0 / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.909e-05/0.7515, allocations: 73.97 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.7516, allocations: 93 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.7516, allocations: 3.953 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.7516, allocations: 4 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.7517, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.7517, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.376e-05/0.7518, allocations: 120.9 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7518, allocations: 0 / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001817/0.7519, allocations: 11.97 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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): 2 * 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.0001264/0.7521, allocations: 107.2 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.805e-05/0.7522, allocations: 12 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7522, allocations: 4 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.131e-05/0.7522, allocations: 8 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.7524, allocations: 4 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.7528, allocations: 218.3 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.7531, allocations: 0.6965 MB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.7531, allocations: 15.44 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.7531, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.002309/0.7554, allocations: 0.8442 MB / 1.027 GB, free: 10.86 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_barCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_barCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_barCalcHelperMain.o] Error 1