Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008739/0.0008739, allocations: 99.36 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.0009621/0.0009623, allocations: 177.2 kB / 16.58 MB, free: 6.418 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.463/1.463, allocations: 223.2 MB / 240.6 MB, free: 5.418 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.433/2.433, allocations: 390.5 MB / 0.6662 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003685, allocations: 8 kB / 0.8154 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8959/0.8963, allocations: 142.3 MB / 0.9544 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.0009063/0.8972, allocations: 0.5164 MB / 0.9549 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.313e-05/0.8973, allocations: 40.69 kB / 0.955 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.8974, allocations: 1.406 kB / 0.955 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/0.8974, allocations: 7.922 kB / 0.955 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.52e-05/0.8975, allocations: 5.219 kB / 0.955 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.137e-05/0.8975, allocations: 15.61 kB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.49e-05/0.8976, allocations: 49.45 kB / 0.955 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.8978, allocations: 37.89 kB / 0.9551 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.795e-05/0.8978, allocations: 18.72 kB / 0.9551 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.099e-05/0.8979, allocations: 15.36 kB / 0.9551 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.8979, allocations: 1.625 kB / 0.9551 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-06/0.8979, allocations: 1.406 kB / 0.9551 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.8979, allocations: 18.39 kB / 0.9551 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.8979, allocations: 37.61 kB / 0.9552 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.746e-05/0.898, allocations: 49.53 kB / 0.9552 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.898, allocations: 0 / 0.9552 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.823e-06/0.898, allocations: 1.312 kB / 0.9552 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.8981, allocations: 0 / 0.9552 GB, free: 7.508 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.0003097/0.8984, allocations: 367.2 kB / 0.9556 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.8984, allocations: 13.19 kB / 0.9556 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.8984, allocations: 21.27 kB / 0.9556 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.8986, allocations: 185 kB / 0.9558 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.8986, allocations: 2.844 kB / 0.9558 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.8986, allocations: 9.344 kB / 0.9558 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.8988, allocations: 97.31 kB / 0.9559 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.8988, allocations: 1.688 kB / 0.9559 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.8988, allocations: 0 / 0.9559 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.8988, allocations: 1.594 kB / 0.9559 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.8989, allocations: 43.09 kB / 0.9559 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.8993, allocations: 439.1 kB / 0.9563 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.755e-05/0.8994, allocations: 39.91 kB / 0.9564 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.8994, allocations: 19.69 kB / 0.9564 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.8994, allocations: 5.188 kB / 0.9564 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.8995, allocations: 35.59 kB / 0.9564 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.8995, allocations: 0 / 0.9564 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001547/0.8996, allocations: 54.5 kB / 0.9565 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.8997, allocations: 82.27 kB / 0.9566 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.8998, allocations: 163.3 kB / 0.9567 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.8998, allocations: 25.7 kB / 0.9567 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.8999, allocations: 108.9 kB / 0.9568 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.496e-06/0.8999, allocations: 9.312 kB / 0.9569 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.8999, allocations: 0 / 0.9569 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.48e-05/0.8999, allocations: 321.5 kB / 0.9572 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.9, allocations: 10.11 kB / 0.9572 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.9, allocations: 18.78 kB / 0.9572 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.403e-05/0.9, allocations: 12.41 kB / 0.9572 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.9, allocations: 1.375 kB / 0.9572 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.939e-05/0.9001, allocations: 57.91 kB / 0.9573 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.9001, allocations: 5.969 kB / 0.9573 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.9001, allocations: 0 / 0.9573 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.9001, allocations: 1.219 kB / 0.9573 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/0.9002, allocations: 13.88 kB / 0.9573 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.9002, allocations: 4.062 kB / 0.9573 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.9002, allocations: 2.562 kB / 0.9573 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.9003, allocations: 1.281 kB / 0.9573 GB, free: 5.387 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 5.667e-05/0.9003, allocations: 117.7 kB / 0.9574 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.9004, allocations: 7.344 kB / 0.9574 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.9004, allocations: 15.83 kB / 0.9574 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.9004, allocations: 0 / 0.9574 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9004, allocations: 1.156 kB / 0.9574 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.9004, allocations: 0 / 0.9574 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.9007, allocations: 474.2 kB / 0.9579 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9007, allocations: 1.031 kB / 0.9579 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.9007, allocations: 2.938 kB / 0.9579 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.9007, allocations: 1.469 kB / 0.9579 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.9007, allocations: 0 / 0.9579 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.9007, allocations: 5.438 kB / 0.9579 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.9007, allocations: 3.984 kB / 0.9579 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.505e-05/0.9008, allocations: 87.27 kB / 0.958 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.9008, allocations: 87.5 kB / 0.958 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.9009, allocations: 1.406 kB / 0.9581 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.836e-05/0.9009, allocations: 0 / 0.9581 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.9009, allocations: 1.438 kB / 0.9581 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.9009, allocations: 1.406 kB / 0.9581 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.62e-05/0.901, allocations: 128.4 kB / 0.9582 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.901, allocations: 4.938 kB / 0.9582 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001817/0.9012, allocations: 14.73 kB / 0.9582 GB, free: 4.43 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 9.97e-05/0.9013, allocations: 95.81 kB / 0.9583 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.333e-05/0.9014, allocations: 22.7 kB / 0.9583 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9014, allocations: 0 / 0.9583 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.071e-05/0.9014, allocations: 4.844 kB / 0.9583 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.9016, allocations: 13.14 kB / 0.9583 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.9019, allocations: 204.1 kB / 0.9585 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.902, allocations: 0.6983 MB / 0.9592 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.902, allocations: 11.75 kB / 0.9592 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.902, allocations: 3.938 kB / 0.9592 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of Templates: time 0.002165/0.9042, allocations: 0.8458 MB / 0.96 GB, free: 2.965 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.To_tonCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_tonCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_tonCalcHelperMain.o] Error 1