Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009896/0.0009897, allocations: 100.1 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.001371/0.001371, allocations: 176.5 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.53/1.53, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.121/1.121, allocations: 143.4 MB / 435.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003734, allocations: 8 kB / 0.5166 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2344, allocations: 83.4 MB / 0.598 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5583/0.7927, allocations: 134.5 MB / 0.7293 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001712/0.793, allocations: 51.08 kB / 0.7294 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.01e-05/0.793, allocations: 4 kB / 0.7294 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.7931, allocations: 1.609 kB / 0.7294 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.076e-05/0.7932, allocations: 14.11 kB / 0.7294 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007905/0.794, allocations: 149.3 kB / 0.7296 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.7942, allocations: 42.22 kB / 0.7296 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/0.7942, allocations: 6.062 kB / 0.7296 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.443e-05/0.7943, allocations: 18.88 kB / 0.7296 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.735e-05/0.7944, allocations: 14.44 kB / 0.7296 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.7944, allocations: 1.219 kB / 0.7296 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004785/0.7949, allocations: 100.9 kB / 0.7297 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.795, allocations: 9.922 kB / 0.7297 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.795, allocations: 33.42 kB / 0.7298 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.7952, allocations: 54.59 kB / 0.7298 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.7952, allocations: 1.062 kB / 0.7298 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7952, allocations: 0 / 0.7298 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.7952, allocations: 4 kB / 0.7298 GB, free: 15.55 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004203/0.7957, allocations: 325.9 kB / 0.7301 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.7957, allocations: 9.594 kB / 0.7302 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003626/0.7961, allocations: 29.48 kB / 0.7302 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.7963, allocations: 161.7 kB / 0.7303 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.983e-05/0.7963, allocations: 29 kB / 0.7304 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.7963, allocations: 1.312 kB / 0.7304 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.7965, allocations: 51.59 kB / 0.7304 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.7965, allocations: 0 / 0.7304 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.7965, allocations: 1.25 kB / 0.7304 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.7966, allocations: 6.844 kB / 0.7304 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.447e-05/0.7966, allocations: 24.66 kB / 0.7304 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.7971, allocations: 258.4 kB / 0.7307 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.39e-05/0.7971, allocations: 28.23 kB / 0.7307 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.7972, allocations: 8.219 kB / 0.7307 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.7973, allocations: 90.92 kB / 0.7308 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.7974, allocations: 32.47 kB / 0.7308 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.7974, allocations: 3.938 kB / 0.7308 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002599/0.7976, allocations: 52.52 kB / 0.7309 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.7977, allocations: 56.11 kB / 0.7309 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.752e-05/0.7978, allocations: 103.5 kB / 0.731 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.7978, allocations: 25.7 kB / 0.7311 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.7979, allocations: 97.88 kB / 0.7312 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.867e-06/0.7979, allocations: 5.734 kB / 0.7312 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.7979, allocations: 1.656 kB / 0.7312 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.798, allocations: 313.6 kB / 0.7315 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.7981, allocations: 7.047 kB / 0.7315 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.672e-05/0.7981, allocations: 24.94 kB / 0.7315 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.789e-05/0.7981, allocations: 10.56 kB / 0.7315 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7982, allocations: 0 / 0.7315 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.467e-05/0.7983, allocations: 56.83 kB / 0.7316 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.7983, allocations: 7 kB / 0.7316 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.7983, allocations: 5.156 kB / 0.7316 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.7983, allocations: 1.125 kB / 0.7316 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.7984, allocations: 7.953 kB / 0.7316 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.7984, allocations: 1 kB / 0.7316 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.705e-05/0.7984, allocations: 8.984 kB / 0.7316 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.7984, allocations: 5.875 kB / 0.7316 GB, free: 13.73 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 9.763e-05/0.7986, allocations: 109.4 kB / 0.7317 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.7986, allocations: 1 kB / 0.7317 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.7986, allocations: 12.94 kB / 0.7317 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.7986, allocations: 1.375 kB / 0.7317 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.7987, allocations: 0.75 kB / 0.7317 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.7987, allocations: 1.906 kB / 0.7317 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/0.799, allocations: 363.1 kB / 0.7321 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.799, allocations: 5.719 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.731e-05/0.799, allocations: 6.906 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.7991, allocations: 1.344 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.7991, allocations: 5.25 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.7991, allocations: 7.891 kB / 0.7321 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7991, allocations: 1.906 kB / 0.7321 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.03e-05/0.7992, allocations: 67.19 kB / 0.7322 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.7992, allocations: 83.2 kB / 0.7322 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.7992, allocations: 1.531 kB / 0.7322 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.017e-05/0.7993, allocations: 8.234 kB / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.7994, allocations: 6.062 kB / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.7994, allocations: 1.375 kB / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.124e-05/0.7994, allocations: 86.02 kB / 0.7323 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7994, allocations: 0 / 0.7323 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002056/0.7996, allocations: 7.031 kB / 0.7323 GB, free: 12.93 MB / 0.5606 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.0001385/0.7998, allocations: 105.7 kB / 0.7324 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.427e-05/0.7999, allocations: 15.36 kB / 0.7325 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7999, allocations: 1.375 kB / 0.7325 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.482e-05/0.7999, allocations: 7.391 kB / 0.7325 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.8001, allocations: 4.922 kB / 0.7325 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.8005, allocations: 158.7 kB / 0.7326 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.8008, allocations: 0.6758 MB / 0.7333 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.8008, allocations: 9.875 kB / 0.7333 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.8008, allocations: 0.9375 kB / 0.7333 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of Templates: time 0.002324/0.8031, allocations: 0.6093 MB / 0.7339 GB, free: 11.95 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversionCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversionCalcHelperMain.o] Error 1