Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 108.6 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 187 kB / 17.34 MB, free: 5.762 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.582/2.582, allocations: 469.4 MB / 0.7428 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 64.12 kB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.033, allocations: 159.1 MB / 1.221 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003349/1.036, allocations: 1.816 MB / 1.223 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002408/1.039, allocations: 1.597 MB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/1.039, allocations: 4 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001963/1.039, allocations: 27.73 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001343/1.039, allocations: 23.84 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000741/1.04, allocations: 235.2 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003079/1.04, allocations: 247.5 kB / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/1.04, allocations: 61.52 kB / 1.225 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/1.041, allocations: 95.73 kB / 1.225 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/1.041, allocations: 79.67 kB / 1.225 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/1.041, allocations: 23.88 kB / 1.225 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004233/1.041, allocations: 219.6 kB / 1.225 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/1.041, allocations: 79.8 kB / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/1.041, allocations: 87.53 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005244/1.042, allocations: 386.7 kB / 1.226 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.042, allocations: 4 kB / 1.226 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.142e-06/1.042, allocations: 4 kB / 1.226 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.177e-06/1.042, allocations: 0 / 1.226 GB, free: 13.37 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009746/1.043, allocations: 0.555 MB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.043, allocations: 8.625 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.721e-05/1.043, allocations: 36.53 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/1.044, allocations: 252.8 kB / 1.227 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/1.044, allocations: 24.36 kB / 1.227 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/1.044, allocations: 31.94 kB / 1.227 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/1.044, allocations: 201.3 kB / 1.227 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.044, allocations: 0 / 1.227 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/1.044, allocations: 8 kB / 1.227 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/1.044, allocations: 7.984 kB / 1.227 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/1.044, allocations: 111.9 kB / 1.227 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/1.046, allocations: 0.5857 MB / 1.227 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/1.046, allocations: 206.5 kB / 1.228 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/1.046, allocations: 92.81 kB / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/1.046, allocations: 8 kB / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003273/1.047, allocations: 176 kB / 1.228 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=27): time 2.064e-06/1.047, allocations: 0 / 1.228 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of matching and sorting (n=27): time 0.0007034/1.047, allocations: 396.2 kB / 1.228 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/1.047, allocations: 71.38 kB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/1.047, allocations: 190.6 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/1.048, allocations: 49.69 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/1.048, allocations: 125 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.329e-05/1.048, allocations: 79 kB / 1.229 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/1.048, allocations: 86.06 kB / 1.229 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.048, allocations: 338.8 kB / 1.229 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/1.048, allocations: 116.7 kB / 1.229 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/1.048, allocations: 253.5 kB / 1.23 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/1.049, allocations: 375.9 kB / 1.23 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.049, allocations: 3.938 kB / 1.23 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006218/1.05, allocations: 409.2 kB / 1.23 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.05, allocations: 12.06 kB / 1.23 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/1.05, allocations: 4 kB / 1.23 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/1.05, allocations: 11.94 kB / 1.23 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/1.05, allocations: 60.09 kB / 1.23 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/1.05, allocations: 15.94 kB / 1.23 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/1.05, allocations: 39.61 kB / 1.23 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/1.05, allocations: 16 kB / 1.23 GB, free: 8.145 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 34 (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_temp[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri_temp[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2],onOffCon.y,$PRE.onOffCon.y,pyt.uRWri_temp[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0001971/1.05, allocations: 192.2 kB / 1.231 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/1.05, allocations: 19.72 kB / 1.231 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.44e-05/1.05, allocations: 22.55 kB / 1.231 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.05, allocations: 4 kB / 1.231 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/1.05, allocations: 0 / 1.231 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.05, allocations: 0 / 1.231 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009633/1.051, allocations: 0.6899 MB / 1.231 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.051, allocations: 7.984 kB / 1.231 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/1.052, allocations: 12 kB / 1.231 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/1.052, allocations: 0 / 1.231 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/1.052, allocations: 15.98 kB / 1.231 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.052, allocations: 0 / 1.231 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.052, allocations: 0 / 1.231 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007323/1.052, allocations: 0.5122 MB / 1.232 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/1.052, allocations: 96.86 kB / 1.232 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/1.052, allocations: 16.03 kB / 1.232 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/1.053, allocations: 11.98 kB / 1.232 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/1.053, allocations: 19.97 kB / 1.232 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/1.053, allocations: 15.98 kB / 1.232 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001133/1.053, allocations: 136.2 kB / 1.232 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.053, allocations: 0 / 1.232 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004449/1.053, allocations: 107.9 kB / 1.232 GB, free: 6.184 MB / 0.9512 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: 18 (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],pyt.uRWri_temp[1],pyt.uRWri_temp[2],pyt.uRWri_temp[3],pyt.uRWri_temp[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 (26): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.000707/1.054, allocations: 340.3 kB / 1.233 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005019/1.054, allocations: 287.5 kB / 1.233 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.054, allocations: 0 / 1.233 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/1.055, allocations: 108.8 kB / 1.233 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/1.055, allocations: 27.97 kB / 1.233 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009295/1.056, allocations: 0.5246 MB / 1.234 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/1.056, allocations: 0.7441 MB / 1.234 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/1.056, allocations: 27.38 kB / 1.234 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/1.056, allocations: 0 / 1.234 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of Templates: time 0.006627/1.063, allocations: 3.993 MB / 1.238 GB, free: 152 kB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile clang++ -std=c++17 -fopenmp=libomp -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/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoomCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoomCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoomCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoomFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/C-Sources/pythonWrapper.c:35:3: error: use of undeclared identifier 'pythonExchangeValuesNoModelica' pythonExchangeValuesNoModelica( ^ 1 error generated. make: *** [: OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoomCalcHelperMain.o] Error 1