Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009728/0.0009728, 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.001262/0.001262, allocations: 175.4 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.546/1.546, 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/IDEAS 3.0.0/package.mo): time 0.7615/0.7615, allocations: 132.3 MB / 424 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004081, allocations: 12.61 kB / 0.504 GB, free: 4.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5974/0.5979, allocations: 81.58 MB / 0.5837 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001409/0.5993, allocations: 1.038 MB / 0.5847 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1744/0.7738, allocations: 134.5 MB / 0.716 GB, free: 8.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.127e-05/0.7739, allocations: 0 / 0.716 GB, free: 8.738 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.123e-05/0.774, allocations: 3.984 kB / 0.716 GB, free: 8.734 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.7741, allocations: 11.92 kB / 0.716 GB, free: 8.723 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007574/0.7748, allocations: 231 kB / 0.7162 GB, free: 8.496 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.775, allocations: 71.75 kB / 0.7163 GB, free: 8.426 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.775, allocations: 0 / 0.7163 GB, free: 8.426 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.986e-05/0.7751, allocations: 31.91 kB / 0.7163 GB, free: 8.395 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.7752, allocations: 39.89 kB / 0.7164 GB, free: 8.355 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.7752, allocations: 0 / 0.7164 GB, free: 8.355 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006327/0.7758, allocations: 251.3 kB / 0.7166 GB, free: 8.109 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.7759, allocations: 15.98 kB / 0.7166 GB, free: 8.094 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.776, allocations: 37.69 kB / 0.7167 GB, free: 8.051 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.7762, allocations: 101.7 kB / 0.7168 GB, free: 7.953 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7762, allocations: 0 / 0.7168 GB, free: 7.953 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7762, allocations: 0 / 0.7168 GB, free: 7.953 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.7762, allocations: 0 / 0.7168 GB, free: 7.953 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004635/0.7767, allocations: 383.1 kB / 0.7171 GB, free: 7.531 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.7767, allocations: 8.031 kB / 0.7171 GB, free: 7.523 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004194/0.7772, allocations: 39.83 kB / 0.7172 GB, free: 7.484 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.7773, allocations: 159.1 kB / 0.7173 GB, free: 7.289 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.7773, allocations: 8 kB / 0.7173 GB, free: 7.281 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.7773, allocations: 11.98 kB / 0.7173 GB, free: 7.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.7775, allocations: 77.59 kB / 0.7174 GB, free: 7.188 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.7775, allocations: 4 kB / 0.7174 GB, free: 7.184 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.7776, allocations: 4 kB / 0.7174 GB, free: 7.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.7776, allocations: 3.953 kB / 0.7174 GB, free: 7.176 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.335e-05/0.7777, allocations: 47.89 kB / 0.7175 GB, free: 7.129 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.7779, allocations: 193.5 kB / 0.7177 GB, free: 6.891 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.7781, allocations: 82.61 kB / 0.7177 GB, free: 6.801 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.175e-05/0.7781, allocations: 40.88 kB / 0.7178 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002385/0.7784, allocations: 178.2 kB / 0.718 GB, free: 6.547 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.7784, allocations: 38.5 kB / 0.718 GB, free: 6.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.7784, allocations: 0 / 0.718 GB, free: 6.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001238/0.7797, allocations: 0.5417 MB / 0.7185 GB, free: 5.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.7797, allocations: 55.36 kB / 0.7186 GB, free: 5.844 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/0.7798, allocations: 101.8 kB / 0.7187 GB, free: 5.734 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.7798, allocations: 29.7 kB / 0.7187 GB, free: 5.699 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.7799, allocations: 80.52 kB / 0.7188 GB, free: 5.617 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.22e-05/0.78, allocations: 71.12 kB / 0.7188 GB, free: 5.547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.78, allocations: 11.94 kB / 0.7189 GB, free: 5.535 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7801, allocations: 314.8 kB / 0.7192 GB, free: 5.219 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.7802, allocations: 35.97 kB / 0.7192 GB, free: 5.184 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.208e-05/0.7803, allocations: 71.34 kB / 0.7193 GB, free: 5.102 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.707e-05/0.7803, allocations: 44 kB / 0.7193 GB, free: 5.059 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.7803, allocations: 0 / 0.7193 GB, free: 5.059 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002188/0.7806, allocations: 165.5 kB / 0.7195 GB, free: 4.891 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.7806, allocations: 4 kB / 0.7195 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7806, allocations: 0 / 0.7195 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.7806, allocations: 4 kB / 0.7195 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.7808, allocations: 39.92 kB / 0.7195 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.7808, allocations: 7.953 kB / 0.7195 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.7809, allocations: 0 / 0.7195 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.7809, allocations: 12 kB / 0.7195 GB, free: 4.824 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.996e-05/0.781, allocations: 121.8 kB / 0.7196 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.781, allocations: 8 kB / 0.7196 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.085e-05/0.7811, allocations: 20.42 kB / 0.7197 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.7811, allocations: 4 kB / 0.7197 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7811, allocations: 0 / 0.7197 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.7811, allocations: 3.953 kB / 0.7197 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.7813, allocations: 193.6 kB / 0.7199 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7813, allocations: 0 / 0.7199 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.7815, allocations: 35.98 kB / 0.7199 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.7815, allocations: 3.938 kB / 0.7199 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.7815, allocations: 4 kB / 0.7199 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.7815, allocations: 11.98 kB / 0.7199 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.7815, allocations: 0 / 0.7199 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.7819, allocations: 206.9 kB / 0.7201 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.782, allocations: 93 kB / 0.7202 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.782, allocations: 4.062 kB / 0.7202 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.7821, allocations: 7.984 kB / 0.7202 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.7821, allocations: 11.98 kB / 0.7202 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.7822, allocations: 11.94 kB / 0.7202 GB, free: 4.004 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.928e-05/0.7822, allocations: 79.28 kB / 0.7203 GB, free: 3.926 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7822, allocations: 0 / 0.7203 GB, free: 3.926 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000227/0.7824, allocations: 35.95 kB / 0.7203 GB, free: 3.891 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001655/0.7826, allocations: 107.4 kB / 0.7204 GB, free: 3.777 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.7828, allocations: 107.9 kB / 0.7205 GB, free: 3.672 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7829, allocations: 4.094 kB / 0.7205 GB, free: 3.668 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.596e-05/0.7829, allocations: 55.91 kB / 0.7206 GB, free: 3.613 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.7832, allocations: 15.95 kB / 0.7206 GB, free: 3.598 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008417/0.784, allocations: 0.6349 MB / 0.7212 GB, free: 2.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.7843, allocations: 0.705 MB / 0.7219 GB, free: 2.199 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.7843, allocations: 15.44 kB / 0.7219 GB, free: 2.184 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.7843, allocations: 0 / 0.7219 GB, free: 2.184 MB / 0.545 GB Notification: Performance of Templates: time 0.002909/0.7873, allocations: 1.276 MB / 0.7232 GB, free: 0.9062 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.makefile make -j1 -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.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 OMCppIDEAS_IDEAS.Media.Examples.AirDerivativeCheckCalcHelperMain.o OMCppIDEAS_IDEAS.Media.Examples.AirDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Media.Examples.AirDerivativeCheckCalcHelperMain.o] Error 1