Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008091/0.0008091, allocations: 102.6 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.0009893/0.0009893, allocations: 174.6 kB / 16.58 MB, free: 6.02 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.552/1.552, allocations: 223.3 MB / 240.6 MB, free: 5.336 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.549/2.549, allocations: 390.5 MB / 0.6662 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003715, allocations: 12 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9389/0.9392, allocations: 142.3 MB / 0.9544 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001207/0.9405, allocations: 0.5194 MB / 0.9549 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001688/0.9407, allocations: 42.09 kB / 0.955 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.174e-05/0.9408, allocations: 1.344 kB / 0.955 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.9408, allocations: 3.938 kB / 0.955 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.877e-05/0.9409, allocations: 5 kB / 0.955 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.854e-05/0.941, allocations: 15.61 kB / 0.955 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.9411, allocations: 52.66 kB / 0.955 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.9413, allocations: 34.94 kB / 0.9551 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.9414, allocations: 22.02 kB / 0.9551 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.9414, allocations: 16.05 kB / 0.9551 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.9414, allocations: 5.484 kB / 0.9551 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-06/0.9415, allocations: 1.375 kB / 0.9551 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.9415, allocations: 10.78 kB / 0.9551 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.9415, allocations: 36.45 kB / 0.9552 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.851e-05/0.9416, allocations: 45.86 kB / 0.9552 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.9416, allocations: 1.375 kB / 0.9552 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9416, allocations: 0 / 0.9552 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.9417, allocations: 0 / 0.9552 GB, free: 7.52 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004136/0.9421, allocations: 372.2 kB / 0.9556 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.104e-05/0.9422, allocations: 8.938 kB / 0.9556 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.9422, allocations: 20.88 kB / 0.9556 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.9425, allocations: 185 kB / 0.9558 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.9425, allocations: 3.031 kB / 0.9558 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.9425, allocations: 9.031 kB / 0.9558 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.9427, allocations: 91.98 kB / 0.9559 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.9427, allocations: 1.219 kB / 0.9559 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.9428, allocations: 0 / 0.9559 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.9428, allocations: 2.719 kB / 0.9559 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.091e-05/0.9429, allocations: 50.77 kB / 0.9559 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005747/0.9435, allocations: 437.7 kB / 0.9563 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.641e-05/0.9435, allocations: 45.28 kB / 0.9564 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.9436, allocations: 15.31 kB / 0.9564 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.9436, allocations: 1.031 kB / 0.9564 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.9436, allocations: 35.59 kB / 0.9564 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.9436, allocations: 4 kB / 0.9564 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001951/0.9438, allocations: 55.12 kB / 0.9565 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.9439, allocations: 78.08 kB / 0.9566 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.944, allocations: 163.1 kB / 0.9567 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.944, allocations: 27.02 kB / 0.9567 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.9441, allocations: 103.6 kB / 0.9568 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.168e-06/0.9441, allocations: 9.25 kB / 0.9568 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.9441, allocations: 256 / 0.9568 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.389e-05/0.9442, allocations: 329.2 kB / 0.9572 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.838e-05/0.9442, allocations: 11.59 kB / 0.9572 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.9443, allocations: 14.06 kB / 0.9572 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.832e-05/0.9443, allocations: 9.281 kB / 0.9572 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.9443, allocations: 0 / 0.9572 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001018/0.9444, allocations: 63.19 kB / 0.9573 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.9444, allocations: 9.438 kB / 0.9573 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.9445, allocations: 3.984 kB / 0.9573 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.9445, allocations: 1.125 kB / 0.9573 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.648e-05/0.9446, allocations: 5.281 kB / 0.9573 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.9446, allocations: 1.094 kB / 0.9573 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.19e-05/0.9447, allocations: 1.875 kB / 0.9573 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.9447, allocations: 1.75 kB / 0.9573 GB, free: 5.402 MB / 0.7169 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 7.639e-05/0.9447, allocations: 121.5 kB / 0.9574 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.9448, allocations: 7.844 kB / 0.9574 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.9448, allocations: 15.38 kB / 0.9574 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.9448, allocations: 0 / 0.9574 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.9448, allocations: 1.062 kB / 0.9574 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.9449, allocations: 0.9062 kB / 0.9574 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.9452, allocations: 473.9 kB / 0.9579 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.9452, allocations: 1.344 kB / 0.9579 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.9452, allocations: 10.73 kB / 0.9579 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.9452, allocations: 4.062 kB / 0.9579 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.9452, allocations: 1.312 kB / 0.9579 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.9453, allocations: 1.031 kB / 0.9579 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.9453, allocations: 0 / 0.9579 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.728e-05/0.9454, allocations: 82.89 kB / 0.958 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.9454, allocations: 88.28 kB / 0.958 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.9454, allocations: 9.141 kB / 0.9581 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/0.9455, allocations: 0 / 0.9581 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.9455, allocations: 5.219 kB / 0.9581 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.9455, allocations: 1.312 kB / 0.9581 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.07e-05/0.9456, allocations: 122.5 kB / 0.9582 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9456, allocations: 1.156 kB / 0.9582 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001936/0.9458, allocations: 14.77 kB / 0.9582 GB, free: 4.438 MB / 0.7169 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.0001362/0.9459, allocations: 100.3 kB / 0.9583 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.808e-05/0.946, allocations: 22.91 kB / 0.9583 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9461, allocations: 0 / 0.9583 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.4e-05/0.9461, allocations: 4.344 kB / 0.9583 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.9463, allocations: 7.125 kB / 0.9583 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.9467, allocations: 212.6 kB / 0.9585 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.9468, allocations: 0.6912 MB / 0.9592 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.9469, allocations: 12.12 kB / 0.9592 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of SimCode: time 1.91e-07/0.9469, allocations: 0 / 0.9592 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of Templates: time 0.002908/0.9498, allocations: 0.8527 MB / 0.96 GB, free: 2.969 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.Controls.OBC.UnitConversions.Validation.From_BtuPerHourCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHourCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHourCalcHelperMain.o] Error 1