Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 91.53 kB / 16.02 MB, free: 80 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.001477/0.001477, allocations: 178.3 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.975/1.975, allocations: 205.4 MB / 223.1 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.7 MB / 0.5509 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008001/0.0008006, allocations: 17.78 kB / 0.675 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.296, allocations: 116.3 MB / 0.7885 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001504/0.2976, allocations: 0.9975 MB / 0.7895 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.8452/1.143, allocations: 143.2 MB / 0.9293 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/1.143, allocations: 0 / 0.9293 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.139e-05/1.143, allocations: 5.641 kB / 0.9293 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.748e-05/1.143, allocations: 4.875 kB / 0.9293 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/1.143, allocations: 82.77 kB / 0.9294 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.666e-05/1.143, allocations: 33.09 kB / 0.9294 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/1.143, allocations: 3.797 kB / 0.9294 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.478e-05/1.144, allocations: 16.28 kB / 0.9294 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.905e-05/1.144, allocations: 20.45 kB / 0.9295 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/1.144, allocations: 0 / 0.9295 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/1.144, allocations: 75.2 kB / 0.9295 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/1.144, allocations: 10.66 kB / 0.9295 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001846/1.144, allocations: 38.7 kB / 0.9296 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/1.144, allocations: 46.88 kB / 0.9296 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/1.144, allocations: 0 / 0.9296 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.815e-06/1.144, allocations: 0 / 0.9296 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.839e-06/1.144, allocations: 2.734 kB / 0.9296 GB, free: 18.24 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004377/1.145, allocations: 337.2 kB / 0.93 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/1.145, allocations: 8.188 kB / 0.93 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/1.145, allocations: 23.69 kB / 0.93 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/1.145, allocations: 173.2 kB / 0.9302 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/1.145, allocations: 6.438 kB / 0.9302 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/1.145, allocations: 8.906 kB / 0.9302 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/1.145, allocations: 47.73 kB / 0.9302 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/1.145, allocations: 0 / 0.9302 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/1.145, allocations: 0 / 0.9302 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/1.145, allocations: 0 / 0.9302 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.753e-05/1.145, allocations: 16.98 kB / 0.9302 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/1.146, allocations: 168.7 kB / 0.9304 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.967e-05/1.146, allocations: 58.94 kB / 0.9304 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/1.146, allocations: 19.52 kB / 0.9305 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/1.146, allocations: 7.047 kB / 0.9305 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/1.146, allocations: 30.56 kB / 0.9305 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 2.645e-06/1.146, allocations: 0 / 0.9305 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0007588/1.147, allocations: 377 kB / 0.9309 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/1.147, allocations: 57.27 kB / 0.9309 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.541e-05/1.147, allocations: 92.2 kB / 0.931 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/1.147, allocations: 30.92 kB / 0.931 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/1.147, allocations: 80.14 kB / 0.9311 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/1.147, allocations: 42.22 kB / 0.9311 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/1.147, allocations: 22.08 kB / 0.9312 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.147, allocations: 323.1 kB / 0.9315 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.569e-05/1.147, allocations: 17.58 kB / 0.9315 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.018e-05/1.147, allocations: 39.83 kB / 0.9315 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.31e-05/1.147, allocations: 59.95 kB / 0.9316 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/1.147, allocations: 0 / 0.9316 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001288/1.147, allocations: 99.64 kB / 0.9317 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.147, allocations: 9.562 kB / 0.9317 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.147, allocations: 0 / 0.9317 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/1.147, allocations: 5.656 kB / 0.9317 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/1.148, allocations: 19.48 kB / 0.9317 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/1.148, allocations: 0 / 0.9317 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/1.148, allocations: 11.03 kB / 0.9317 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/1.148, allocations: 3.062 kB / 0.9317 GB, free: 16.37 MB / 0.7325 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.556e-05/1.148, allocations: 117.6 kB / 0.9318 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/1.148, allocations: 2.938 kB / 0.9318 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/1.148, allocations: 15.78 kB / 0.9319 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.148, allocations: 3.547 kB / 0.9319 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.148, allocations: 0 / 0.9319 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.148, allocations: 0.7969 kB / 0.9319 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/1.148, allocations: 171.6 kB / 0.932 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.148, allocations: 0 / 0.932 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/1.148, allocations: 22.89 kB / 0.932 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/1.148, allocations: 0 / 0.932 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/1.148, allocations: 4.25 kB / 0.9321 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.148, allocations: 10.95 kB / 0.9321 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.148, allocations: 0 / 0.9321 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/1.148, allocations: 138.5 kB / 0.9322 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.523e-05/1.148, allocations: 83.47 kB / 0.9323 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/1.148, allocations: 6.281 kB / 0.9323 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/1.148, allocations: 3.844 kB / 0.9323 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/1.149, allocations: 4.547 kB / 0.9323 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/1.149, allocations: 6.609 kB / 0.9323 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.159e-05/1.149, allocations: 79.28 kB / 0.9324 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.149, allocations: 2.5 kB / 0.9324 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001868/1.149, allocations: 14.66 kB / 0.9324 GB, free: 15.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001112/1.149, allocations: 105.9 kB / 0.9325 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001322/1.149, allocations: 57.28 kB / 0.9325 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.149, allocations: 2.875 kB / 0.9325 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-05/1.149, allocations: 33.59 kB / 0.9326 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/1.149, allocations: 9.328 kB / 0.9326 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006186/1.15, allocations: 418.2 kB / 0.933 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/1.15, allocations: 0.688 MB / 0.9337 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/1.15, allocations: 13.59 kB / 0.9337 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of SimCode: time 1.403e-06/1.15, allocations: 0 / 0.9337 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of Templates: time 0.002352/1.153, allocations: 0.8138 MB / 0.9345 GB, free: 14.62 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.o OMCppBuildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.o] Error 1