Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_latest_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.0007296/0.0007296, allocations: 100.5 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.0009149/0.000915, allocations: 174.2 kB / 16.58 MB, free: 6.422 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.485/1.485, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.774/2.774, allocations: 436.7 MB / 0.7113 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.0003931, allocations: 8 kB / 0.8717 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9127/0.9132, allocations: 153.7 MB / 1.022 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001379/0.9146, allocations: 0.9955 MB / 1.023 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1616/1.076, allocations: 133.5 MB / 1.153 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/1.076, allocations: 0 / 1.153 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/1.076, allocations: 3.984 kB / 1.153 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.712e-05/1.076, allocations: 3.938 kB / 1.153 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/1.077, allocations: 79.7 kB / 1.153 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.655e-05/1.077, allocations: 31.84 kB / 1.153 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 6.018e-05/1.077, allocations: 4 kB / 1.153 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.688e-05/1.077, allocations: 15.98 kB / 1.153 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.735e-05/1.077, allocations: 11.92 kB / 1.153 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/1.077, allocations: 7.984 kB / 1.153 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/1.077, allocations: 63.84 kB / 1.153 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/1.077, allocations: 11.97 kB / 1.153 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/1.077, allocations: 29.7 kB / 1.153 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/1.077, allocations: 45.94 kB / 1.153 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.078, allocations: 4 kB / 1.153 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.074e-06/1.078, allocations: 0 / 1.153 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.538e-06/1.078, allocations: 0 / 1.153 GB, free: 9.934 MB / 0.9044 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.0004/1.078, allocations: 343.2 kB / 1.154 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.078, allocations: 8.031 kB / 1.154 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/1.078, allocations: 11.98 kB / 1.154 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/1.078, allocations: 175 kB / 1.154 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/1.078, allocations: 4 kB / 1.154 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/1.078, allocations: 8 kB / 1.154 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/1.078, allocations: 53.66 kB / 1.154 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/1.078, allocations: 0 / 1.154 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/1.079, allocations: 4 kB / 1.154 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.079, allocations: 0 / 1.154 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.076e-05/1.079, allocations: 11.98 kB / 1.154 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/1.079, allocations: 169.5 kB / 1.154 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.604e-05/1.079, allocations: 62.45 kB / 1.154 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/1.079, allocations: 20.84 kB / 1.154 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/1.079, allocations: 0 / 1.154 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/1.079, allocations: 34.56 kB / 1.154 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/1.079, allocations: 0 / 1.154 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0007139/1.08, allocations: 366.3 kB / 1.155 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/1.08, allocations: 59.41 kB / 1.155 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.178e-05/1.08, allocations: 97.84 kB / 1.155 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/1.08, allocations: 25.7 kB / 1.155 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.776e-05/1.08, allocations: 84.14 kB / 1.155 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/1.08, allocations: 43.36 kB / 1.155 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/1.08, allocations: 3.938 kB / 1.155 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.08, allocations: 318.8 kB / 1.155 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.21e-05/1.08, allocations: 19.98 kB / 1.155 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.766e-05/1.08, allocations: 40.7 kB / 1.155 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/1.08, allocations: 24.55 kB / 1.155 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/1.08, allocations: 0 / 1.155 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001286/1.08, allocations: 93.59 kB / 1.155 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.08, allocations: 8 kB / 1.155 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/1.08, allocations: 0 / 1.155 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/1.08, allocations: 0 / 1.155 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/1.08, allocations: 23.98 kB / 1.155 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/1.08, allocations: 0 / 1.155 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/1.081, allocations: 8 kB / 1.155 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/1.081, allocations: 4 kB / 1.155 GB, free: 7.586 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.129e-05/1.081, allocations: 121.7 kB / 1.155 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/1.081, allocations: 3.906 kB / 1.155 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/1.081, allocations: 15.97 kB / 1.155 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.081, allocations: 3.984 kB / 1.155 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.081, allocations: 0 / 1.155 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.081, allocations: 0 / 1.155 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/1.081, allocations: 173.6 kB / 1.156 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/1.081, allocations: 7.984 kB / 1.156 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/1.081, allocations: 16 kB / 1.156 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.081, allocations: 4 kB / 1.156 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/1.081, allocations: 0 / 1.156 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/1.081, allocations: 0 / 1.156 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.081, allocations: 3.938 kB / 1.156 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/1.081, allocations: 133.1 kB / 1.156 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.539e-05/1.081, allocations: 84.97 kB / 1.156 GB, free: 6.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/1.081, allocations: 16.03 kB / 1.156 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/1.081, allocations: 0 / 1.156 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/1.081, allocations: 4 kB / 1.156 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/1.081, allocations: 11.98 kB / 1.156 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.754e-05/1.081, allocations: 75.28 kB / 1.156 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/1.081, allocations: 0 / 1.156 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001862/1.082, allocations: 16 kB / 1.156 GB, free: 6.809 MB / 0.9044 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 (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.0001006/1.082, allocations: 95.34 kB / 1.156 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001271/1.082, allocations: 67.91 kB / 1.156 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.082, allocations: 0 / 1.156 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-05/1.082, allocations: 31.92 kB / 1.156 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/1.082, allocations: 10.39 kB / 1.156 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006332/1.083, allocations: 416.3 kB / 1.157 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/1.083, allocations: 0.6887 MB / 1.157 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/1.083, allocations: 19.38 kB / 1.157 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/1.083, allocations: 4 kB / 1.157 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of Templates: time 0.002384/1.086, allocations: 0.8123 MB / 1.158 GB, free: 4.609 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.o OMCppBuildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.o] Error 1