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.0008567/0.0008564, allocations: 100.8 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.001026/0.001026, allocations: 178.4 kB / 16.58 MB, free: 6.422 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.724/1.724, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.84/1.84, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0005532/0.0005532, allocations: 14.41 kB / 0.6744 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3074, allocations: 116.3 MB / 0.7879 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.002496/0.31, allocations: 1.461 MB / 0.7894 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.3123, allocations: 1.519 MB / 0.7908 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.3124, allocations: 3.938 kB / 0.7908 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.3126, allocations: 27.84 kB / 0.7909 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.3127, allocations: 15.86 kB / 0.7909 GB, free: 8.887 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.0006273/0.3133, allocations: 191.6 kB / 0.7911 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.3136, allocations: 179.5 kB / 0.7912 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.3138, allocations: 50.16 kB / 0.7913 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.3139, allocations: 75.69 kB / 0.7914 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.3141, allocations: 59.75 kB / 0.7914 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.3141, allocations: 8 kB / 0.7914 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.3145, allocations: 167.7 kB / 0.7916 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.3146, allocations: 55.83 kB / 0.7916 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.3146, allocations: 65.5 kB / 0.7917 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.315, allocations: 255.5 kB / 0.7919 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.315, allocations: 7.938 kB / 0.7919 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.284e-06/0.315, allocations: 0 / 0.7919 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.315, allocations: 0 / 0.7919 GB, free: 7.785 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.000981/0.316, allocations: 0.5337 MB / 0.7925 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3161, allocations: 8.031 kB / 0.7925 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.229e-05/0.3161, allocations: 27.67 kB / 0.7925 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.3164, allocations: 231.4 kB / 0.7927 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.3164, allocations: 12 kB / 0.7927 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.3165, allocations: 27.94 kB / 0.7928 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.3169, allocations: 185.4 kB / 0.7929 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3169, allocations: 0 / 0.7929 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.3169, allocations: 12 kB / 0.793 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.3169, allocations: 7.953 kB / 0.793 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.3172, allocations: 116.5 kB / 0.7931 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.3185, allocations: 0.5743 MB / 0.7936 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006943/0.3192, allocations: 270.7 kB / 0.7939 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.3193, allocations: 95.42 kB / 0.794 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.3194, allocations: 4 kB / 0.794 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003072/0.3197, allocations: 152.8 kB / 0.7941 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.3197, allocations: 0 / 0.7941 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0006803/0.3204, allocations: 365.5 kB / 0.7945 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.3205, allocations: 63.39 kB / 0.7945 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.3206, allocations: 175.1 kB / 0.7947 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.3207, allocations: 45.69 kB / 0.7947 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.723e-05/0.3208, allocations: 128.5 kB / 0.7949 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.498e-05/0.3208, allocations: 63.16 kB / 0.7949 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.3209, allocations: 8 kB / 0.7949 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.321, allocations: 334.8 kB / 0.7953 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.3212, allocations: 103.7 kB / 0.7954 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.3215, allocations: 228.6 kB / 0.7956 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.3217, allocations: 147.8 kB / 0.7957 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3217, allocations: 0 / 0.7957 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005696/0.3223, allocations: 373.1 kB / 0.7961 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3223, allocations: 4 kB / 0.7961 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3223, allocations: 4 kB / 0.7961 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.3224, allocations: 11.95 kB / 0.7961 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.3226, allocations: 63.84 kB / 0.7962 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3226, allocations: 8.25 kB / 0.7962 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.3228, allocations: 43.77 kB / 0.7962 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.3228, allocations: 20 kB / 0.7962 GB, free: 3.133 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 ($PRE.pyt.firstTrigger,pyt.firstTrigger,$PRE.pyt.yR[2],pyt.yR[2],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[4],pyt.uRIntPre[4],$PRE.pyt.uRWri[1],pyt.uRWri[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001812/0.323, allocations: 172.2 kB / 0.7964 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.323, allocations: 19.72 kB / 0.7964 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.3231, allocations: 21.86 kB / 0.7964 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3231, allocations: 7.953 kB / 0.7964 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3231, allocations: 3.938 kB / 0.7964 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3231, allocations: 0 / 0.7964 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008844/0.324, allocations: 0.635 MB / 0.7971 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.324, allocations: 0 / 0.7971 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.3241, allocations: 23.94 kB / 0.7971 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3241, allocations: 4 kB / 0.7971 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.3242, allocations: 11.98 kB / 0.7971 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3242, allocations: 0 / 0.7971 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3242, allocations: 0 / 0.7971 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006894/0.3249, allocations: 491.6 kB / 0.7976 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.3249, allocations: 92.86 kB / 0.7977 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.325, allocations: 15.98 kB / 0.7977 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.3251, allocations: 31.97 kB / 0.7977 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.3252, allocations: 15.97 kB / 0.7977 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.3252, allocations: 15.98 kB / 0.7977 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.79e-05/0.3253, allocations: 128.3 kB / 0.7979 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3254, allocations: 0 / 0.7979 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004691/0.3258, allocations: 103.8 kB / 0.798 GB, free: 1.262 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 (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.0006894/0.3265, allocations: 332.3 kB / 0.7983 GB, free: 1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004762/0.327, allocations: 251.5 kB / 0.7985 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.327, allocations: 0 / 0.7985 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.3272, allocations: 104.8 kB / 0.7986 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.3275, allocations: 27.92 kB / 0.7986 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009474/0.3285, allocations: 0.5375 MB / 0.7992 GB, free: 60 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3288, allocations: 0.7442 MB / 0.7999 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.3289, allocations: 23.44 kB / 0.7999 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.3289, allocations: 0 / 0.7999 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of Templates: time 0.006187/0.3351, allocations: 3.667 MB / 0.8035 GB, free: 11.59 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++ 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/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/c/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