Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Lines.Examples.Resistance.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.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009289/0.0009293, allocations: 99.83 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.001017/0.001017, allocations: 180.7 kB / 16.58 MB, free: 6.879 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.504/1.504, allocations: 223.2 MB / 240.6 MB, free: 5.445 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.502/2.502, allocations: 390.5 MB / 0.6662 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000412/0.0004122, allocations: 8 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8872/0.8877, allocations: 142.3 MB / 0.9544 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003232/0.891, allocations: 2.663 MB / 0.957 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.8928, allocations: 1.24 MB / 0.9582 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.893, allocations: 3.562 kB / 0.9582 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.8932, allocations: 37.48 kB / 0.9583 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003587/0.8935, allocations: 120.6 kB / 0.9584 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.8939, allocations: 91.91 kB / 0.9585 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004827/0.8944, allocations: 348.7 kB / 0.9588 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.8948, allocations: 214.8 kB / 0.959 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.895, allocations: 100.7 kB / 0.9591 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.8953, allocations: 133.4 kB / 0.9592 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.8953, allocations: 14 kB / 0.9592 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.8956, allocations: 81.38 kB / 0.9593 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.807e-05/0.8957, allocations: 68.55 kB / 0.9594 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.544e-05/0.8958, allocations: 62.2 kB / 0.9594 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.8961, allocations: 251.9 kB / 0.9597 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.056e-06/0.8961, allocations: 1.375 kB / 0.9597 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.266e-06/0.8961, allocations: 0 / 0.9597 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.8961, allocations: 0 / 0.9597 GB, free: 4.133 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007186/0.8969, allocations: 496.8 kB / 0.9601 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.8969, allocations: 8.281 kB / 0.9602 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006003/0.8975, allocations: 81.47 kB / 0.9602 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.8978, allocations: 239 kB / 0.9605 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.8978, allocations: 11.47 kB / 0.9605 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.8978, allocations: 20.52 kB / 0.9605 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.8983, allocations: 299.9 kB / 0.9608 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.8983, allocations: 3.953 kB / 0.9608 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.8984, allocations: 6.969 kB / 0.9608 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.933e-05/0.8984, allocations: 21.39 kB / 0.9608 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/0.8987, allocations: 195.6 kB / 0.961 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.8999, allocations: 1.463 MB / 0.9624 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.9002, allocations: 180.5 kB / 0.9626 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.9003, allocations: 31.09 kB / 0.9626 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.9003, allocations: 0.9375 kB / 0.9626 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.9003, allocations: 40.5 kB / 0.9627 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.9003, allocations: 0 / 0.9627 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004368/0.9008, allocations: 229 kB / 0.9629 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.9008, allocations: 53.59 kB / 0.9629 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.901, allocations: 199.2 kB / 0.9631 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.901, allocations: 26.73 kB / 0.9632 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.9011, allocations: 164.2 kB / 0.9633 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.9011, allocations: 26.64 kB / 0.9633 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.9011, allocations: 5 kB / 0.9633 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.9012, allocations: 322.1 kB / 0.9636 GB, free: 456 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.08e-05/0.9012, allocations: 38.86 kB / 0.9637 GB, free: 436 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-05/0.9013, allocations: 106.5 kB / 0.9638 GB, free: 324 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.577e-05/0.9014, allocations: 52.8 kB / 0.9638 GB, free: 296 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.9014, allocations: 1.156 kB / 0.9638 GB, free: 296 kB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000285/0.9017, allocations: 186.5 kB / 0.964 GB, free: 180 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.9018, allocations: 10.34 kB / 0.964 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.9018, allocations: 2.469 kB / 0.964 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.9019, allocations: 29.03 kB / 0.9641 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.9021, allocations: 26.95 kB / 0.9641 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.9031, allocations: 1.32 MB / 0.9654 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.9032, allocations: 13 kB / 0.9654 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.9032, allocations: 6.719 kB / 0.9654 GB, free: 14.78 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001526/0.9034, allocations: 153.6 kB / 0.9655 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.9034, allocations: 18.88 kB / 0.9656 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.9035, allocations: 21.64 kB / 0.9656 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.9035, allocations: 1.125 kB / 0.9656 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.9035, allocations: 0.8438 kB / 0.9656 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.9035, allocations: 0 / 0.9656 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.9041, allocations: 449.4 kB / 0.966 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.9041, allocations: 0 / 0.966 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.9041, allocations: 7.219 kB / 0.966 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.592e-05/0.9042, allocations: 26.62 kB / 0.966 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-06/0.9042, allocations: 0 / 0.966 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009515/0.9052, allocations: 1.313 MB / 0.9673 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.9052, allocations: 0 / 0.9673 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.9054, allocations: 209.3 kB / 0.9675 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.669e-05/0.9055, allocations: 103 kB / 0.9676 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.9056, allocations: 5.562 kB / 0.9676 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.9057, allocations: 11.3 kB / 0.9676 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.9057, allocations: 6.453 kB / 0.9676 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.9057, allocations: 2.531 kB / 0.9676 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001344/0.9059, allocations: 146 kB / 0.9678 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9059, allocations: 0 / 0.9678 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003638/0.9062, allocations: 48.03 kB / 0.9678 GB, free: 12.39 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001284/0.9064, allocations: 103.1 kB / 0.9679 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004138/0.9068, allocations: 214.2 kB / 0.9681 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.9068, allocations: 0 / 0.9681 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.907, allocations: 144.9 kB / 0.9683 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.9074, allocations: 34.08 kB / 0.9683 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/0.9082, allocations: 464.9 kB / 0.9687 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.9086, allocations: 0.7514 MB / 0.9695 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.9086, allocations: 14.59 kB / 0.9695 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.9086, allocations: 1.219 kB / 0.9695 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of Templates: time 0.005958/0.9146, allocations: 2.944 MB / 0.9724 GB, free: 9.371 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.Resistance.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 OMCppBuildings_9_Buildings.Electrical.DC.Lines.Examples.ResistanceCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.DC.Lines.Examples.ResistanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.DC.Lines.Examples.ResistanceCalcHelperMain.o] Error 1