Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.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.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 96.14 kB / 15.87 MB, free: 16 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.001831/0.001832, allocations: 193.4 kB / 16.79 MB, free: 6.812 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.867/1.867, allocations: 205.1 MB / 222.6 MB, free: 4.973 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.847/1.847, allocations: 292.3 MB / 0.5491 GB, free: 13.66 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.001334/0.001334, allocations: 62.97 kB / 0.6715 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2988, allocations: 114.6 MB / 0.7833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.003407/0.3022, allocations: 1.834 MB / 0.7851 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002376/0.3046, allocations: 1.624 MB / 0.7867 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.3047, allocations: 0 / 0.7867 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.3049, allocations: 19.86 kB / 0.7867 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.3051, allocations: 15.88 kB / 0.7867 GB, free: 10.49 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function ‘Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0005789/0.3057, allocations: 203.5 kB / 0.7869 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.3059, allocations: 195.5 kB / 0.7871 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.3061, allocations: 62.11 kB / 0.7872 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.3062, allocations: 79.69 kB / 0.7873 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.3064, allocations: 67.75 kB / 0.7873 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.3064, allocations: 11.98 kB / 0.7873 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.3068, allocations: 187.7 kB / 0.7875 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.3069, allocations: 71.73 kB / 0.7876 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.915e-05/0.307, allocations: 75.55 kB / 0.7877 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.3073, allocations: 259.5 kB / 0.7879 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3073, allocations: 0 / 0.7879 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.12e-07/0.3073, allocations: 0 / 0.7879 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.3074, allocations: 0 / 0.7879 GB, free: 9.297 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009687/0.3083, allocations: 0.5611 MB / 0.7885 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3084, allocations: 8.031 kB / 0.7885 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.129e-05/0.3084, allocations: 24.66 kB / 0.7885 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.3087, allocations: 241.8 kB / 0.7887 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.3087, allocations: 12.38 kB / 0.7887 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/0.3088, allocations: 31.94 kB / 0.7888 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.3092, allocations: 185.3 kB / 0.7889 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3092, allocations: 0 / 0.7889 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.3092, allocations: 8 kB / 0.7889 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.3092, allocations: 7.984 kB / 0.7889 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.3095, allocations: 120.4 kB / 0.7891 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.3107, allocations: 0.5548 MB / 0.7896 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007178/0.3114, allocations: 250.6 kB / 0.7898 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.3116, allocations: 92.75 kB / 0.7899 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.3117, allocations: 4 kB / 0.7899 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003212/0.312, allocations: 143.3 kB / 0.7901 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.803e-06/0.312, allocations: 0 / 0.7901 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0006743/0.3127, allocations: 356 kB / 0.7904 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.3127, allocations: 67.33 kB / 0.7905 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.3129, allocations: 179.4 kB / 0.7906 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.3129, allocations: 45.69 kB / 0.7907 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/0.313, allocations: 120.5 kB / 0.7908 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.677e-05/0.3131, allocations: 71.09 kB / 0.7909 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.479e-05/0.3132, allocations: 69.69 kB / 0.7909 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3134, allocations: 334.8 kB / 0.7913 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.3136, allocations: 103.7 kB / 0.7914 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.3138, allocations: 232.6 kB / 0.7916 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.3143, allocations: 328 kB / 0.7919 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3143, allocations: 0 / 0.7919 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005603/0.3149, allocations: 364.9 kB / 0.7922 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3149, allocations: 4 kB / 0.7922 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3149, allocations: 4 kB / 0.7922 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.3149, allocations: 8 kB / 0.7923 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.3151, allocations: 63.78 kB / 0.7923 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.3151, allocations: 15.92 kB / 0.7923 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.3153, allocations: 44.17 kB / 0.7924 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.3154, allocations: 12 kB / 0.7924 GB, free: 4.367 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 26 (pyt.firstTrigger,$PRE.pyt.firstTrigger,pyt.yR[2],$PRE.pyt.yR[2],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[4],$PRE.pyt.uRIntPre[4],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,onOffCon.y,$PRE.onOffCon.y,pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1],pyt.uRWri[2],$PRE.pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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 0.0001765/0.3156, allocations: 175.5 kB / 0.7926 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.3156, allocations: 15.81 kB / 0.7926 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.3157, allocations: 29.86 kB / 0.7926 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3157, allocations: 0 / 0.7926 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3157, allocations: 3.938 kB / 0.7926 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3157, allocations: 4 kB / 0.7926 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009209/0.3166, allocations: 0.6231 MB / 0.7932 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3166, allocations: 0 / 0.7932 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.3167, allocations: 27.98 kB / 0.7932 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3168, allocations: 11.88 kB / 0.7933 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.3168, allocations: 7.984 kB / 0.7933 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3168, allocations: 0 / 0.7933 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3168, allocations: 0 / 0.7933 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006986/0.3175, allocations: 481.3 kB / 0.7937 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.3176, allocations: 96.86 kB / 0.7938 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.3176, allocations: 8.031 kB / 0.7938 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.3178, allocations: 23.98 kB / 0.7938 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/0.3179, allocations: 19.97 kB / 0.7939 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.3179, allocations: 11.98 kB / 0.7939 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001083/0.318, allocations: 136.8 kB / 0.794 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.318, allocations: 0 / 0.794 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004599/0.3185, allocations: 95.83 kB / 0.7941 GB, free: 2.523 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 14 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0007576/0.3193, allocations: 330.6 kB / 0.7944 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004791/0.3198, allocations: 247.6 kB / 0.7946 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3198, allocations: 0 / 0.7946 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.32, allocations: 91.89 kB / 0.7947 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.3203, allocations: 23.11 kB / 0.7948 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009673/0.3213, allocations: 0.5547 MB / 0.7953 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.3216, allocations: 0.7404 MB / 0.796 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.3217, allocations: 19.44 kB / 0.796 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.3217, allocations: 0 / 0.796 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of Templates: time 0.006047/0.3278, allocations: 3.689 MB / 0.7996 GB, free: 12.84 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.makefile make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoomCalcHelperMain.o OMCppBuildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoomCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoomCalcHelperMain.o] Error 1