Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, 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.001513/0.001513, allocations: 177.1 kB / 16.58 MB, free: 6.859 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.515/1.515, allocations: 223.2 MB / 240.6 MB, free: 5.43 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.543/2.543, allocations: 390.4 MB / 0.6662 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003952, allocations: 15.94 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9307/0.9311, allocations: 142.3 MB / 0.9544 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.0009987/0.9322, allocations: 0.512 MB / 0.9549 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000106/0.9323, allocations: 40.72 kB / 0.955 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.9324, allocations: 1.375 kB / 0.955 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.9324, allocations: 5 kB / 0.955 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.649e-05/0.9325, allocations: 3.938 kB / 0.955 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.113e-05/0.9325, allocations: 16.52 kB / 0.955 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.611e-05/0.9326, allocations: 57.59 kB / 0.955 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.9328, allocations: 29.83 kB / 0.9551 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.309e-05/0.9329, allocations: 18.33 kB / 0.9551 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.008e-05/0.9329, allocations: 24.12 kB / 0.9551 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.9329, allocations: 0.9688 kB / 0.9551 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.933, allocations: 2.375 kB / 0.9551 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.933, allocations: 9.438 kB / 0.9551 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.933, allocations: 41.58 kB / 0.9552 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.214e-05/0.9331, allocations: 50.02 kB / 0.9552 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.9331, allocations: 3.938 kB / 0.9552 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9331, allocations: 1 kB / 0.9552 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.9331, allocations: 0 / 0.9552 GB, free: 7.492 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.0003634/0.9335, allocations: 369.4 kB / 0.9556 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.9335, allocations: 9.219 kB / 0.9556 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.9336, allocations: 17.02 kB / 0.9556 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.9338, allocations: 194 kB / 0.9558 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.9338, allocations: 6.562 kB / 0.9558 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.9338, allocations: 4.281 kB / 0.9558 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.934, allocations: 96.84 kB / 0.9559 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.934, allocations: 0 / 0.9559 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.934, allocations: 5.594 kB / 0.9559 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.934, allocations: 1.344 kB / 0.9559 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.648e-05/0.9341, allocations: 39.31 kB / 0.9559 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.9346, allocations: 438 kB / 0.9563 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.744e-05/0.9347, allocations: 37.34 kB / 0.9564 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.9347, allocations: 23.41 kB / 0.9564 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.9347, allocations: 5.359 kB / 0.9564 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.9347, allocations: 30.56 kB / 0.9564 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.9348, allocations: 1.438 kB / 0.9564 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001759/0.9349, allocations: 50.27 kB / 0.9565 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.935, allocations: 82.58 kB / 0.9566 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.9351, allocations: 161.2 kB / 0.9567 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.9351, allocations: 26.77 kB / 0.9567 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.9352, allocations: 104.8 kB / 0.9568 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.081e-05/0.9352, allocations: 12.94 kB / 0.9568 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.9352, allocations: 0 / 0.9568 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.88e-05/0.9353, allocations: 324.8 kB / 0.9572 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.9353, allocations: 3.125 kB / 0.9572 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.131e-05/0.9353, allocations: 22.5 kB / 0.9572 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.61e-05/0.9354, allocations: 13.12 kB / 0.9572 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9354, allocations: 0 / 0.9572 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.32e-05/0.9355, allocations: 59.06 kB / 0.9573 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.9355, allocations: 6.406 kB / 0.9573 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9355, allocations: 2.312 kB / 0.9573 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.9355, allocations: 0 / 0.9573 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.9356, allocations: 9.438 kB / 0.9573 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.9356, allocations: 8.047 kB / 0.9573 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.9356, allocations: 6.062 kB / 0.9573 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.9356, allocations: 1.25 kB / 0.9573 GB, free: 5.375 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.11e-05/0.9357, allocations: 118.4 kB / 0.9574 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.9358, allocations: 7.281 kB / 0.9574 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.9358, allocations: 11.44 kB / 0.9574 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.9358, allocations: 0 / 0.9574 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.9358, allocations: 1.281 kB / 0.9574 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.9358, allocations: 5.328 kB / 0.9574 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.9361, allocations: 481.6 kB / 0.9579 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.9361, allocations: 0 / 0.9579 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-05/0.9362, allocations: 3.062 kB / 0.9579 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.9362, allocations: 1.094 kB / 0.9579 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.9362, allocations: 1.156 kB / 0.9579 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.9362, allocations: 1.031 kB / 0.9579 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.9362, allocations: 0 / 0.9579 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.18e-05/0.9363, allocations: 86.59 kB / 0.958 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.9363, allocations: 88.42 kB / 0.9581 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.9364, allocations: 5.125 kB / 0.9581 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.882e-05/0.9364, allocations: 0 / 0.9581 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.9364, allocations: 2.062 kB / 0.9581 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.9364, allocations: 4.984 kB / 0.9581 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.859e-05/0.9365, allocations: 121.4 kB / 0.9582 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9365, allocations: 0 / 0.9582 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001863/0.9367, allocations: 14.17 kB / 0.9582 GB, free: 4.422 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.0001017/0.9368, allocations: 101.3 kB / 0.9583 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.315e-05/0.9369, allocations: 17 kB / 0.9583 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9369, allocations: 1.062 kB / 0.9583 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.9369, allocations: 8.344 kB / 0.9583 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.9371, allocations: 10.84 kB / 0.9583 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.9374, allocations: 204.8 kB / 0.9585 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.9376, allocations: 0.6939 MB / 0.9592 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.9376, allocations: 11.78 kB / 0.9592 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of SimCode: time 6.11e-07/0.9376, allocations: 0 / 0.9592 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of Templates: time 0.002521/0.9402, allocations: 0.8503 MB / 0.96 GB, free: 2.957 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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_galCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_galCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_galCalcHelperMain.o] Error 1