Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001191/0.001191, allocations: 103 kB / 15.71 MB, free: 460 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.002259/0.002259, allocations: 172.1 kB / 16.58 MB, free: 6.078 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.542/1.542, allocations: 223.2 MB / 240.6 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.547/2.547, allocations: 390.5 MB / 0.6662 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 12 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7685/0.7689, allocations: 142.3 MB / 0.9544 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002066/0.771, allocations: 1.463 MB / 0.9558 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.7729, allocations: 1.499 MB / 0.9573 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.773, allocations: 1.438 kB / 0.9573 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.7732, allocations: 19.39 kB / 0.9573 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.7733, allocations: 18.8 kB / 0.9573 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.7738, allocations: 186.5 kB / 0.9575 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.7741, allocations: 216.6 kB / 0.9577 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.7743, allocations: 42.5 kB / 0.9578 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.7744, allocations: 77.36 kB / 0.9578 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.7746, allocations: 55.48 kB / 0.9579 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.7746, allocations: 4.75 kB / 0.9579 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.775, allocations: 175.4 kB / 0.9581 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.89e-05/0.7751, allocations: 71.14 kB / 0.9581 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.7751, allocations: 62.38 kB / 0.9582 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.7754, allocations: 267.3 kB / 0.9584 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.7755, allocations: 1.406 kB / 0.9584 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7755, allocations: 0 / 0.9584 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.7755, allocations: 0 / 0.9584 GB, free: 5.035 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008519/0.7763, allocations: 0.5338 MB / 0.959 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.7764, allocations: 13 kB / 0.959 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.659e-05/0.7765, allocations: 26.06 kB / 0.959 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.7767, allocations: 245 kB / 0.9592 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.7767, allocations: 13.55 kB / 0.9592 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/0.7768, allocations: 28.88 kB / 0.9593 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.7771, allocations: 201.2 kB / 0.9595 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.7772, allocations: 0.7812 kB / 0.9595 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.7772, allocations: 9.578 kB / 0.9595 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.7772, allocations: 12.48 kB / 0.9595 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.7774, allocations: 135 kB / 0.9596 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.7786, allocations: 0.5925 MB / 0.9602 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007168/0.7794, allocations: 299.7 kB / 0.9605 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.7795, allocations: 93.72 kB / 0.9606 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.7796, allocations: 3.344 kB / 0.9606 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/0.7799, allocations: 172.1 kB / 0.9607 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.724e-06/0.7799, allocations: 4 kB / 0.9607 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0007212/0.7806, allocations: 387.9 kB / 0.9611 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.7807, allocations: 73.97 kB / 0.9612 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.7809, allocations: 183.7 kB / 0.9614 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.7809, allocations: 48.06 kB / 0.9614 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.366e-05/0.781, allocations: 116.7 kB / 0.9615 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.7811, allocations: 84.88 kB / 0.9616 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.7811, allocations: 5 kB / 0.9616 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.466e-05/0.7812, allocations: 339 kB / 0.9619 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.7814, allocations: 114.1 kB / 0.962 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.7817, allocations: 251.2 kB / 0.9623 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.7819, allocations: 154.9 kB / 0.9624 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.7819, allocations: 5.031 kB / 0.9624 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006365/0.7826, allocations: 404.7 kB / 0.9628 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.7826, allocations: 6.594 kB / 0.9628 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.7826, allocations: 12.42 kB / 0.9628 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.7826, allocations: 7.188 kB / 0.9628 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.7828, allocations: 65.97 kB / 0.9629 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/0.7829, allocations: 13.98 kB / 0.9629 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.783, allocations: 46.05 kB / 0.9629 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.7831, allocations: 19.19 kB / 0.963 GB, free: 1.684 MB / 0.7169 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 ($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_temp[1],pyt.uRWri_temp[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri_temp[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri_temp[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],pyt.uRWri[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri_temp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001683/0.7833, allocations: 183.7 kB / 0.9631 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.7833, allocations: 16.97 kB / 0.9632 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.7833, allocations: 29.39 kB / 0.9632 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.7834, allocations: 6.516 kB / 0.9632 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.7834, allocations: 1.344 kB / 0.9632 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.7834, allocations: 7.938 kB / 0.9632 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008892/0.7843, allocations: 0.6742 MB / 0.9639 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.7843, allocations: 0 / 0.9639 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.7844, allocations: 21.08 kB / 0.9639 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.7844, allocations: 3.953 kB / 0.9639 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.7844, allocations: 13.61 kB / 0.9639 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.7845, allocations: 1.375 kB / 0.9639 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7845, allocations: 5.406 kB / 0.9639 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006486/0.7851, allocations: 0.5057 MB / 0.9644 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.7852, allocations: 98.64 kB / 0.9645 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.7852, allocations: 20.5 kB / 0.9645 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.7854, allocations: 24.3 kB / 0.9645 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.7854, allocations: 29.55 kB / 0.9646 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.7855, allocations: 8.438 kB / 0.9646 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.028e-05/0.7856, allocations: 130.2 kB / 0.9647 GB, free: 432 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7856, allocations: 0 / 0.9647 GB, free: 432 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004733/0.786, allocations: 104.4 kB / 0.9648 GB, free: 400 kB / 0.7169 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 (25): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0007114/0.7868, allocations: 339.5 kB / 0.9651 GB, free: 208 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004891/0.7873, allocations: 275.9 kB / 0.9654 GB, free: 96 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7873, allocations: 0 / 0.9654 GB, free: 96 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.7875, allocations: 104.4 kB / 0.9655 GB, free: 56 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.7878, allocations: 25.77 kB / 0.9655 GB, free: 40 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009699/0.7888, allocations: 0.5672 MB / 0.9661 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.7892, allocations: 0.7558 MB / 0.9668 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/0.7892, allocations: 19.72 kB / 0.9668 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.7892, allocations: 5 kB / 0.9668 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of Templates: time 0.007295/0.7965, allocations: 3.867 MB / 0.9706 GB, free: 12.91 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.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/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.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/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoomCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoomCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoomCalcHelperMain.o] Error 1